pkgsrc/devel/go-viper/buildlink3.mk
jmmv 4bc28d37a3 Update go-viper to 1.3.1:
1.3.1:

Make the map in MergeConfigMap case insensitive

1.3.0:

Restrict Travis to >= Go 1.11, use Go Modules, and get the test to pass

1.1.0:

* Added a new `DecoderConfigOption` type allowing the user to write custom
  functions that can override the default mapstructure.DecoderConfig
  settings

* Added a new `DecodeHook` function which returns
  a `DecoderConfigOption`. This allows the user to easily set their own
  Decode hooks when Unmarshaling

* Updated Unmarshal, UnmarshalKey and defaultDecoderConfig to support variadic
  trailing `DecoderConfigOption` functions to allow for customisation of
  the default  mapstructure.DecoderConfig

* Added a test case with example usage
2019-01-02 19:58:39 +00:00

31 lines
1.1 KiB
Makefile

# $NetBSD: buildlink3.mk,v 1.3 2019/01/02 19:58:39 jmmv Exp $
BUILDLINK_TREE+= go-viper
.if !defined(GO_VIPER_BUILDLINK3_MK)
GO_VIPER_BUILDLINK3_MK:=
BUILDLINK_CONTENTS_FILTER.go-viper= ${EGREP} gopkg/
BUILDLINK_DEPMETHOD.go-viper?= build
BUILDLINK_API_DEPENDS.go-viper+= go-viper>=1.3.1
BUILDLINK_PKGSRCDIR.go-viper?= ../../devel/go-viper
.include "../../www/go-toml-pelletier/buildlink3.mk"
.include "../../devel/go-fsnotify/buildlink3.mk"
.include "../../lang/go-hcl/buildlink3.mk"
.include "../../devel/go-properties/buildlink3.mk"
.include "../../devel/go-mapstructure/buildlink3.mk"
.include "../../devel/go-cast/buildlink3.mk"
.include "../../devel/go-jwalterweatherman/buildlink3.mk"
.include "../../devel/go-pflag/buildlink3.mk"
.include "../../devel/go-yaml/buildlink3.mk"
.include "../../devel/go-sys/buildlink3.mk"
.include "../../devel/go-consul-api/buildlink3.mk"
.include "../../databases/go-etcd/buildlink3.mk"
.include "../../security/go-crypt/buildlink3.mk"
.include "../../security/go-crypto/buildlink3.mk"
.include "../../devel/go-afero/buildlink3.mk"
.endif # GO_VIPER_BUILDLINK3_MK
BUILDLINK_TREE+= -go-viper