Hacker GitHub

← All repos

natefinch/lumberjack

View on GitHub ↗ ★ 5,480 Go

lumberjack is a log rolling package for Go

5 mentions on Hacker News by 2 people: 0 stories, 5 comments · first 2014-06-21 · latest 2015-02-26

Mentions per year 5 mentions · busiest year 2015 (3)
20082026
  1. …to a branch in github, so for example import "gopkg.in/natefinch/lumberjack.v2" will get the v2 branch of github.com/natefinch/lumberjack (gopkg.in does this with some git magic)
    comment by NateDad · 2015-02-26 · in Stages of learning Go, with code examples
  2. …a different url. For example, when I released v1 of my package "lumberjack" you imported it with import "github.com/natefinch/lumberjack" When I updated it to v2, I had to change the url. Luckily there's http://gopkg.in to make this easy,…
    comment by NateDad · 2015-02-25 · in Stages of learning Go, with code examples
  3. …or just have different repos for each version. It's really not rocket science. For example, I released github.com/natefinch/lumberjack as v1... when I decided I needed to break the API, I released v2 as gopkg.in/natefinch/lumberjack.v2…
    comment by NateDad · 2015-02-11 · in Go kit: Go in the modern enterprise
  4. …versions" of the same import path. A different version would be a different path. So, for example, github.com/natefinch/lumberjack is an import path. When I wanted to change the API, I have to put my project at a different import path so I…
    comment by NateDad · 2014-12-03 · in The Case for Slow Programming
  5. …in runsit like automatic config watching. I still need to handle log rotation with something like https://github.com/natefinch/lumberjack Thanks for putting this out there.
    comment by gwoo · 2014-06-21 · in Runsit – A process manager in Go