github.com/TaceyWong/ctools@v0.1.1-0.20201221084458-4d7a8190b2ac/tools/validators/json_validator.go (about) 1 package validators 2 3 import "github.com/urfave/cli/v2" 4 5 var JSONValidCMD = cli.Command{ 6 Name: "json_valid", 7 Aliases: []string{"jv"}, 8 Usage: "验证JSON字符串是否符合RFC 4627", 9 Category: "验证器", 10 Action: func(c *cli.Context) error { 11 return nil 12 }, 13 }