intial commits

master
Charles Iliya Krempeaux 2023-12-07 16:24:34 -08:00
parent 150ac29d71
commit 3d2fc6f837
4 changed files with 2130 additions and 0 deletions

10
alphanum/byte.go 100644
View File

@ -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)
}

1055
alphanum/byte_test.go 100644

File diff suppressed because it is too large Load Diff

10
alphanum/rune.go 100644
View File

@ -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)
}

1055
alphanum/rune_test.go 100644

File diff suppressed because it is too large Load Diff