Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

error when download - undefined: strings.TrimSuffix #44

Closed
julian384 opened this issue Jan 10, 2015 · 1 comment
Closed

error when download - undefined: strings.TrimSuffix #44

julian384 opened this issue Jan 10, 2015 · 1 comment

Comments

@julian384
Copy link

After running the command: go build github.com/google/skicka

I get the following:
# github.com/google/skicka
/usr/lib/go/src/pkg/github.com/google/skicka/skicka.go:2065: undefined: strings.TrimSuffix

Using Ubuntu 13 32-bit server via SSH from a Chromebook

@mmp
Copy link
Contributor

mmp commented Jan 10, 2015

It looks like you may have an old version of go installed. What does it say if you run

% go version

?

I believe that TrimSuffix was added in go 1.1 (release in March 2012).

@mmp mmp closed this as completed Jan 16, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants