vendor dependencies with dep
This commit is contained in:
parent
93d8310491
commit
1384296a47
2712 changed files with 965742 additions and 0 deletions
15
vendor/github.com/go-pg/pg/internal/parser/util.go
generated
vendored
Normal file
15
vendor/github.com/go-pg/pg/internal/parser/util.go
generated
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
package parser
|
||||
|
||||
var pgNull = []byte("NULL")
|
||||
|
||||
func isNum(c byte) bool {
|
||||
return c >= '0' && c <= '9'
|
||||
}
|
||||
|
||||
func isAlpha(c byte) bool {
|
||||
return (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z')
|
||||
}
|
||||
|
||||
func isAlnum(c byte) bool {
|
||||
return isAlpha(c) || isNum(c)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue