5 Commits

Author SHA1 Message Date
Benjamin Pollack 3b455f41c1 chore: update Go version 2026-02-18 18:46:55 +00:00
Josh Robson Chase 15262eda27 update go to 1.21 2024-01-22 11:10:56 -05:00
Josh Robson Chase f6a918ffe0 misc: go mod tidy and nix flake update 2023-05-16 11:48:14 -04:00
Euan Kemp 151e70ffd8 Make the 'log' submodule dep optional
Currently, trying to actually depend on libngrok requires getting two
modules, the main one, and the 'log' one.

Go modules make this have confusing UX!

Right now, this UX is broken! We would have needed to set a more specific version
in the `go.mod` for the log dependency (i.e. v0.0.1 after tagging a release).

This updates how logging is structured to copy the log interface into
both locations, which due to go's structural typing should work for our
needs, but also importantly makes pulling in this code as a dependency
easier and less confusing.

To quote the rob pike proverb: "A little copying is better than a little
dependency."
2022-09-12 17:48:56 +00:00
Josh Robson Chase fe6c40f2e6 Publish initial version of libngrok-go
Squashed merge of jrobsonchase/develop (4e064d30a64dde832e7d6b54394b1a7dab1e140a)
2022-09-09 11:44:12 -04:00