intial commits
parent
150ac29d71
commit
3d2fc6f837
|
@ -0,0 +1,10 @@
|
|||
package alphanum
|
||||
|
||||
import (
|
||||
"sourcecode.social/reiver/go-rfc2396/alpha"
|
||||
"sourcecode.social/reiver/go-rfc2396/digit"
|
||||
)
|
||||
|
||||
func ByteIs(value byte) bool {
|
||||
return alpha.ByteIs(value) || digit.ByteIs(value)
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,10 @@
|
|||
package alphanum
|
||||
|
||||
import (
|
||||
"sourcecode.social/reiver/go-rfc2396/alpha"
|
||||
"sourcecode.social/reiver/go-rfc2396/digit"
|
||||
)
|
||||
|
||||
func RuneIs(value rune) bool {
|
||||
return alpha.RuneIs(value) || digit.RuneIs(value)
|
||||
}
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue