aboutsummaryrefslogtreecommitdiff
path: root/cmd/interpreter/main.go
diff options
context:
space:
mode:
authorPřemysl Janouch <p@janouch.name>2018-10-09 18:21:56 +0200
committerPřemysl Janouch <p@janouch.name>2018-10-09 18:25:41 +0200
commit1e03aeacdd96223d19260ee5a9d8794d2a14fe38 (patch)
tree18d4f0bed6f164285e81f35d986af65f26459c9f /cmd/interpreter/main.go
parentf7bb33cc3d87fe6636b52bf99c810eb321b1dc42 (diff)
downloadell-1e03aeacdd96223d19260ee5a9d8794d2a14fe38.tar.gz
ell-1e03aeacdd96223d19260ee5a9d8794d2a14fe38.tar.xz
ell-1e03aeacdd96223d19260ee5a9d8794d2a14fe38.zip
Go: use string for strings instead of []byte
A few conversions more, a few conversions less.
Diffstat (limited to 'cmd/interpreter/main.go')
-rw-r--r--cmd/interpreter/main.go2
1 files changed, 1 insertions, 1 deletions
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
}