From 44e48f276cdd90a76e73918ddd112aa784b9e957 Mon Sep 17 00:00:00 2001 From: Ingo Junefjord Date: Fri, 12 Jun 2020 20:24:42 +0200 Subject: [PATCH] Added go.mod dependeny management --- gitea-group-sync.go | 2 +- go.mod | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 go.mod diff --git a/gitea-group-sync.go b/gitea-group-sync.go index 5fe8051..f1e3919 100644 --- a/gitea-group-sync.go +++ b/gitea-group-sync.go @@ -12,7 +12,7 @@ import ( ) import "gopkg.in/ldap.v3" -import "gopkg.in/robfig/cron.v3" +import "github.com/robfig/cron/v3" func AddUsersToTeam(apiKeys GiteaKeys, users []Account, team int) bool { diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..a49b0e6 --- /dev/null +++ b/go.mod @@ -0,0 +1,8 @@ +module github.com/tws-inc/gitea-group-sync + +go 1.14 + +require ( + github.com/robfig/cron/v3 v3.0.1 + gopkg.in/ldap.v3 v3.1.0 +)