From ee4213f72d3fcbd9b6f80b69371a1d1c7e36a6b3 Mon Sep 17 00:00:00 2001 From: "Gerasimos (Makis) Maropoulos" Date: Tue, 7 Apr 2020 19:27:49 +0300 Subject: [PATCH] update example for validator v10 (go module) Former-commit-id: dcd729ea0dc6775ca657db2950d2bda5d21388c1 --- .../http_request/read-json-struct-validation/main.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/_examples/http_request/read-json-struct-validation/main.go b/_examples/http_request/read-json-struct-validation/main.go index 95ff6f29..b114142c 100644 --- a/_examples/http_request/read-json-struct-validation/main.go +++ b/_examples/http_request/read-json-struct-validation/main.go @@ -1,13 +1,13 @@ -// Package main shows the validator(latest, version 9) integration with Iris. -// You can find more examples like this at: https://github.com/go-playground/validator/blob/v9/_examples +// Package main shows the validator(latest, version 10) integration with Iris. +// You can find more examples like this at: https://github.com/go-playground/validator/blob/master/_examples package main import ( "fmt" "github.com/kataras/iris/v12" - // $ go get gopkg.in/go-playground/validator.v9 - "gopkg.in/go-playground/validator.v9" + // $ go get github.com/go-playground/validator/v10 + "github.com/go-playground/validator/v10" ) // User contains user information.