From 1e03aeacdd96223d19260ee5a9d8794d2a14fe38 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch
Date: Tue, 9 Oct 2018 18:21:56 +0200 Subject: Go: use string for strings instead of []byte A few conversions more, a few conversions less. --- cmd/interpreter/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/interpreter') diff --git a/cmd/interpreter/main.go b/cmd/interpreter/main.go index 822aec8..97c8c25 100644 --- a/cmd/interpreter/main.go +++ b/cmd/interpreter/main.go @@ -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 } -- cgit v1.2.3-70-g09d2