1. 17 Jun, 2019 2 commits
  2. 07 Mar, 2019 1 commit
  3. 05 Mar, 2019 1 commit
  4. 24 Feb, 2019 1 commit
    • Zeger-Jan van de Weg's avatar
      Small copy changes · 7b61af4a
      Zeger-Jan van de Weg authored
      Adds a package level comment, which is nice when running `go doc
      gitlab.com/zj/snippet`. Especially as there're no other export
      It also updates the readme to reflect the latest version number.
  5. 18 Feb, 2019 1 commit
  6. 17 Feb, 2019 1 commit
  7. 05 Feb, 2019 2 commits
    • Zeger-Jan van de Weg's avatar
      Let GitLab CI compile assets when releasing a tag · 95eaee55
      Zeger-Jan van de Weg authored
      With the new releases feature its possible to expose artifacts, allowing
      for an easier install process as there's no dependency on Go anymore.
      At the time of push, this will run on the feature branch. This will
      allow for manual inspection. `gitlab-runner exec` locally was promising
      This commit will not change anything, but will once released in a new
      tag, most probably 0.3.0.
    • Zeger-Jan van de Weg's avatar
      Use improve CLI argument parsing · 16a5bebb
      Zeger-Jan van de Weg authored
      Snippet used to depend on the golang `flag` package, which worked but
      was, in my opinion, not a pleasure to use. `--help` is the same as
      `-help` for example. In my mental model a single `-` denotes a short
      By depending on another package, `urfave/cli`, these options are
      Internally not much changed, although this commit was used to move some
      implementations around. For example, the version.go file has been
  8. 29 Jan, 2019 1 commit
    • Zeger-Jan van de Weg's avatar
      Switch to go mod for dependency tracking · dadf0fef
      Zeger-Jan van de Weg authored
      Go 1.11 is somewhat coming of age now, which included a hopefully
      standard way of dependency management. Which in turn also drops support
      for older Go versions. Given than 1.12 will be released soon, I think
      its safe to drop now, and support 1.12 from than on out too. The intent
      is to support the latest 2 versions of Go at all time.
  9. 24 Jun, 2018 3 commits
  10. 21 Dec, 2017 1 commit
    • Zeger-Jan van de Weg's avatar
      Post a file to GitLab Snippets · f25f7285
      Zeger-Jan van de Weg authored
      Using `-file path/to/file` as flag, a file can be uploaded to GitLab
      Snippets. The filename property will be set to the basename of the
      passed file path.
      Furthermore this introduces the first tests, and minor refactoring in
      what happens where.
  11. 15 Dec, 2017 3 commits
  12. 08 Dec, 2017 3 commits