graph/util.go (
4
lines of code) (
raw
):
package graph // isAlphanumeric checks whether a particular rune is alphanumeric func isAlphanumeric(c rune) bool { return (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || (c >= '0' && c <= '9') }