0be35859ed
Define the data types needed to work with LOCODE's in NeoFS (country code, location code, coordinates). Implement string parsers for new types. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
9 lines
160 B
Go
9 lines
160 B
Go
package locodecolumn
|
|
|
|
func isDigit(sym uint8) bool {
|
|
return sym >= '0' && sym <= '9'
|
|
}
|
|
|
|
func isUpperAlpha(sym uint8) bool {
|
|
return sym >= 'A' && sym <= 'Z'
|
|
}
|