print rune
This commit is contained in:
parent
55326ef470
commit
8b7af226fe
3
main.go
3
main.go
@ -2,6 +2,7 @@ package envconf
|
||||
|
||||
import ("strings"
|
||||
"unicode"
|
||||
"fmt"
|
||||
"os")
|
||||
|
||||
const TypeNone = (1 << 1)
|
||||
@ -11,11 +12,11 @@ const TypeString = (1 << 4)
|
||||
|
||||
type Config struct {
|
||||
env map[string]map[string]int
|
||||
|
||||
}
|
||||
|
||||
func getFirstRune(str string)(rune) {
|
||||
for _,v := range str {
|
||||
fmt.Printf("symbol (%c) (%d)\n", v, v)
|
||||
return v
|
||||
}
|
||||
return rune(0)
|
||||
|
Loading…
Reference in New Issue
Block a user