Go: use string for strings instead of []byte

A few conversions more, a few conversions less.
This commit is contained in:
2018-10-09 18:21:56 +02:00
parent f7bb33cc3d
commit 1e03aeacdd
3 changed files with 19 additions and 21 deletions

View File

@@ -52,7 +52,7 @@ func main() {
var args *ell.V
tail := &args
for i := 2; i < len(os.Args); i++ {
*tail = ell.NewString([]byte(os.Args[i]))
*tail = ell.NewString(os.Args[i])
tail = &(*tail).Next
}