mirror of
https://github.com/Floriansylvain/RenewCMS.git
synced 2026-08-19 11:43:22 +02:00
refac: separated api content into sub-packages & renamed usecases
This commit is contained in:
+2
-2
@@ -2,8 +2,8 @@ package api
|
||||
|
||||
import "github.com/go-playground/validator/v10"
|
||||
|
||||
var validate *validator.Validate
|
||||
var Validate *validator.Validate
|
||||
|
||||
func InitValidator() {
|
||||
validate = validator.New()
|
||||
Validate = validator.New()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user