Browse Source

Merge pull request #5 from Ingomancer/master

Added go.mod dependency management
pull/7/head
alexattws 5 years ago committed by GitHub
parent
commit
15f704b623
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      gitea-group-sync.go
  2. 8
      go.mod

2
gitea-group-sync.go

@ -12,7 +12,7 @@ import (
) )


import "gopkg.in/ldap.v3" 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 { func AddUsersToTeam(apiKeys GiteaKeys, users []Account, team int) bool {



8
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
)
Loading…
Cancel
Save