1
0
Fork 0
mirror of https://github.com/Luzifer/go-holidays.git synced 2024-12-25 13:21:17 +00:00

Add go modules support

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-02-19 19:02:46 +01:00
parent e5ee1a4518
commit d7e6c75ab3
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D
5 changed files with 30 additions and 1 deletions

11
cmd/holiday-api/go.mod Normal file
View file

@ -0,0 +1,11 @@
module github.com/Luzifer/go-holidays/cmd/holiday-api
go 1.15
replace github.com/Luzifer/go-holidays/holidays => ../../holidays
require (
github.com/Luzifer/go-holidays/holidays v0.0.0-00010101000000-000000000000
github.com/Luzifer/rconfig/v2 v2.2.1
github.com/gorilla/mux v1.8.0
)

12
cmd/holiday-api/go.sum Normal file
View file

@ -0,0 +1,12 @@
github.com/Luzifer/rconfig v1.2.0 h1:waD1sqasGVSQSrExpLrQ9Q1JmMaltrS391VdOjWXP/I=
github.com/Luzifer/rconfig/v2 v2.2.1 h1:zcDdLQlnlzwcBJ8E0WFzOkQE1pCMn3EbX0dFYkeTczg=
github.com/Luzifer/rconfig/v2 v2.2.1/go.mod h1:OKIX0/JRZrPJ/ZXXWklQEFXA6tBfWaljZbW37w+sqBw=
github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI=
github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So=
github.com/spf13/pflag v1.0.3 h1:zPAT6CGy6wXeQ7NtTnaTerfKOsV6V6F8agHXFiazDkg=
github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/validator.v2 v2.0.0-20180514200540-135c24b11c19 h1:WB265cn5OpO+hK3pikC9hpP1zI/KTwmyMFKloW9eOVc=
gopkg.in/validator.v2 v2.0.0-20180514200540-135c24b11c19/go.mod h1:o4V0GXN9/CAmCsvJ0oXYZvrZOe7syiDZSN1GWGZTGzc=
gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=

View file

@ -13,7 +13,7 @@ import (
"time" "time"
"github.com/Luzifer/go-holidays/holidays" "github.com/Luzifer/go-holidays/holidays"
"github.com/Luzifer/rconfig" "github.com/Luzifer/rconfig/v2"
"github.com/gorilla/mux" "github.com/gorilla/mux"
) )

3
go.mod Normal file
View file

@ -0,0 +1,3 @@
module github.com/Luzifer/go-holidays
go 1.15

3
holidays/go.mod Normal file
View file

@ -0,0 +1,3 @@
module github.com/Luzifer/go-holidays/holidays
go 1.15