Skip to content

Commit

Permalink
Merge pull request #9 from MaxKam/add_app_version_to_logs
Browse files Browse the repository at this point in the history
Add version number to logs
  • Loading branch information
MaxKam authored Nov 25, 2023
2 parents 98d6f2c + 77da2f5 commit dc9f489
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import (
"github.com/spf13/viper"
)

const versionNumber = "v0.18"

type ipData struct {
publicIPApi string
domainName string
Expand All @@ -15,6 +17,8 @@ type ipData struct {
}

func main() {
log.Printf("Starting Dynamic DNS client - version %s", versionNumber)

// Config setup
var err error

Expand Down

0 comments on commit dc9f489

Please sign in to comment.