init project

This commit is contained in:
DataHearth 2021-03-13 11:25:00 +01:00
commit ea0ce434e1
No known key found for this signature in database
GPG Key ID: E88FD356ACC5F3C4
4 changed files with 21 additions and 0 deletions

1
cmd/main.go Normal file
View File

@ -0,0 +1 @@
package cmd

5
go.mod Normal file
View File

@ -0,0 +1,5 @@
module github.com/datahearth/ddns-client
go 1.15
require github.com/sirupsen/logrus v1.8.1

7
go.sum Normal file
View File

@ -0,0 +1,7 @@
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/sirupsen/logrus v1.8.1 h1:dJKuHgqk1NNQlqoA6BTlM1Wf9DOH3NBjQyu0h9+AZZE=
github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
golang.org/x/sys v0.0.0-20191026070338-33540a1f6037 h1:YyJpGZS1sBuBCzLAR1VEpK193GlqGZbnPFnPV/5Rsb4=
golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=

8
pkg/main.go Normal file
View File

@ -0,0 +1,8 @@
package ddnsclient
import "github.com/sirupsen/logrus"
// Start create a new instance of ddns-client
func Start(log logrus.FieldLogger) error {
return nil
}