Skip to content

Instantly share code, notes, and snippets.

@thiagoarrais
Created December 19, 2016 20:03
Show Gist options
  • Save thiagoarrais/d1114d9d69342bf180afe8f1b33924b7 to your computer and use it in GitHub Desktop.
Save thiagoarrais/d1114d9d69342bf180afe8f1b33924b7 to your computer and use it in GitHub Desktop.

Here is the original code from the README:

https://github.com/thiagoarrais/ignore-this/commit/dac0506417e537b265d6a3cb5cb86af0f37c8469

Here's the error message I've got trying to run it as is:

$ go build# github.com/thiagoarrais/ignore-this
./ignore_this.go:7: imported and not used: "os"
./ignore_this.go:9: imported and not used: "github.com/google/go-github/github"
./ignore_this.go:32: undefined: affinity
[...]

I (think I) have added an import for the affinity module:

https://github.com/thiagoarrais/ignore-this/commit/d31ad9b34669f971c28c2b5b84be8c3f2d898915

Here's the error message I'm getting now:

$ go build
# github.com/thiagoarrais/ignore-this
./ignore_this.go:7: imported and not used: "os"
./ignore_this.go:9: imported and not used: "github.com/google/go-github/github"
./ignore_this.go:35: too many arguments in call to aff.AddTeam
./ignore_this.go:36: too many arguments in call to aff.AddTeam
[...]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment