Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
(WIP)
tag to today's date inCHANGELOG.md
release
label to this PRChanges
Added
pkg/app
with newly addedapp.Version
struct together with an example of how to use with gin-gonic/gin. Use this for versioning your built APIs and command-line programs. (Added pkg/app/version.go and examples, changelog, and go.mod #2)Added
pkg/config
with newly addedconfig.Config
interface and implementation to let you load configs from environment variables or YAML files. This is done via spf13/viper. (Config #4, Fixed example test name config_test.ExampleNewBuilder #16)Added
pkg/problem
andpkg/ginutil
to easily use the IETF RFC-7808 compatibleproblem.Response
, originally taken from wharf-api. (Added problem.Response & ginutils from wharf-api #9)Added utility to
pkg/problem
to identify and parse HTTP problem responses and madeproblem.Response
conform toerror
andfmt.Stringer
interfaces. (Added problem util funcs from iver-wharf/wharf-api-client-go#12 #12)Added
pkg/logger
,pkg/logger/consolepretty
, andpkg/logger/consolejson
as fast, low memory using, extensible, and highly customizable logging libraries. Heavily inspired by rs/zerolog. (pkg/logger #10, Added WithStringf to Event #13, Added Event.WithStringer #15, Added SetLevel & SetLevelScoped #20)Added
pkg/logger
integration to Gin-Gonic and GORM insidepkg/ginutil
andpkg/gormutil
. (GIN & GORM logging integration #11)Added new error response functions. (Added new error response functions #17)
Added
pkg/env
to bind environment variable of a range of different types to local variables. Usage is aimed towards backward compatability with old environment variables before the age ofpkg/config
, as thepkg/config
already provides much better techniques for loading settings. (Added environment binding #18)Actions after merge
Follow the step-by-step guide found here:
https://iver-wharf.github.io/#/development/releasing-a-new-version?id=merging-a-release-pr
Closes #1