You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've never tried to build anything with GO so maybe I'm missing something. GO was installed using apt install golang on Ubuntu 16.04.
Here's what I get running build.sh:
chris@opportunity:~/svglinkify$ sh build.sh
# _/home/chris/svglinkify
./main.go:84: flag.CommandLine.Output undefined (type *flag.FlagSet has no field or method Output, but does have flag.output)
./main.go:247: undefined: strings.Builder
./main.go:364: undefined: io.SeekEnd
./main.go:374: undefined: io.SeekStart
./main.go:382: undefined: io.SeekStart
./main.go:389: undefined: io.SeekStart
./main.go:396: undefined: io.SeekStart
./main.go:416: undefined: io.SeekStart
# _/home/chris/svglinkify
./main.go:84: flag.CommandLine.Output undefined (type *flag.FlagSet has no field or method Output, but does have flag.output)
./main.go:247: undefined: strings.Builder
./main.go:364: undefined: io.SeekEnd
./main.go:374: undefined: io.SeekStart
./main.go:382: undefined: io.SeekStart
./main.go:389: undefined: io.SeekStart
./main.go:396: undefined: io.SeekStart
./main.go:416: undefined: io.SeekStart
# _/home/chris/svglinkify
./main.go:84: flag.CommandLine.Output undefined (type *flag.FlagSet has no field or method Output, but does have flag.output)
./main.go:247: undefined: strings.Builder
./main.go:364: undefined: io.SeekEnd
./main.go:374: undefined: io.SeekStart
./main.go:382: undefined: io.SeekStart
./main.go:389: undefined: io.SeekStart
./main.go:396: undefined: io.SeekStart
./main.go:416: undefined: io.SeekStart
# _/home/chris/svglinkify
./main.go:84: flag.CommandLine.Output undefined (type *flag.FlagSet has no field or method Output, but does have flag.output)
./main.go:247: undefined: strings.Builder
./main.go:364: undefined: io.SeekEnd
./main.go:374: undefined: io.SeekStart
./main.go:382: undefined: io.SeekStart
./main.go:389: undefined: io.SeekStart
./main.go:396: undefined: io.SeekStart
./main.go:416: undefined: io.SeekStart
# _/home/chris/svglinkify
./main.go:84: flag.CommandLine.Output undefined (type *flag.FlagSet has no field or method Output, but does have flag.output)
./main.go:247: undefined: strings.Builder
./main.go:364: undefined: io.SeekEnd
./main.go:374: undefined: io.SeekStart
./main.go:382: undefined: io.SeekStart
./main.go:389: undefined: io.SeekStart
./main.go:396: undefined: io.SeekStart
./main.go:416: undefined: io.SeekStart
# _/home/chris/svglinkify
./main.go:84: flag.CommandLine.Output undefined (type *flag.FlagSet has no field or method Output, but does have flag.output)
./main.go:247: undefined: strings.Builder
./main.go:364: undefined: io.SeekEnd
./main.go:374: undefined: io.SeekStart
./main.go:382: undefined: io.SeekStart
./main.go:389: undefined: io.SeekStart
./main.go:396: undefined: io.SeekStart
./main.go:416: undefined: io.SeekStart
Here's what I get just trying to us go build on its own:
chris@opportunity:~/svglinkify$ go build main.go
# command-line-arguments
./main.go:84: flag.CommandLine.Output undefined (type *flag.FlagSet has no field or method Output, but does have flag.output)
./main.go:247: undefined: strings.Builder
./main.go:364: undefined: io.SeekEnd
./main.go:374: undefined: io.SeekStart
./main.go:382: undefined: io.SeekStart
./main.go:389: undefined: io.SeekStart
./main.go:396: undefined: io.SeekStart
./main.go:416: undefined: io.SeekStart
Clearly some dependency isn't being found, but I'm not familiar with how GO manages dependencies. I was hoping the build.sh script would "just work" (TM).
The text was updated successfully, but these errors were encountered:
I've never tried to build anything with GO so maybe I'm missing something. GO was installed using
apt install golang
on Ubuntu 16.04.Here's what I get running build.sh:
Here's what I get just trying to us
go build
on its own:Clearly some dependency isn't being found, but I'm not familiar with how GO manages dependencies. I was hoping the
build.sh
script would "just work" (TM).The text was updated successfully, but these errors were encountered: