uncomment function

This commit is contained in:
Josh Baker 2018-02-18 10:09:03 -07:00
parent c2e370e1b3
commit aff9dcea3c
1 changed files with 6 additions and 4 deletions

View File

@ -2050,10 +2050,12 @@ func validnull(data []byte, i int) (outi int, ok bool) {
// return errors.New("invalid json") // return errors.New("invalid json")
// } // }
// value := gjson.Get(json, "name.last") // value := gjson.Get(json, "name.last")
// func Valid(json string) bool { //
// _, ok := validpayload([]byte(json), 0) func Valid(json string) bool {
// return ok _, ok := validpayload([]byte(json), 0)
// } return ok
}
func parseUint(s string) (n uint64, ok bool) { func parseUint(s string) (n uint64, ok bool) {
var i int var i int
if i == len(s) { if i == len(s) {