1package name 2 3import ( 4 "strings" 5) 6 7func Key(s string) string { 8 return New(s).Key().String() 9} 10 11func (i Ident) Key() Ident { 12 s := strings.Replace(i.String(), "\\", "/", -1) 13 return New(strings.ToLower(s)) 14} 15