diff --git a/main.go b/main.go index af25f29..20e61cd 100644 --- a/main.go +++ b/main.go @@ -17,6 +17,9 @@ type UserLogin struct { Password string `json:"password" form:"password"` } +// Set the version +var Version string = "1.0" + func main() { // Init Config @@ -33,6 +36,9 @@ func main() { os.Exit(1) } + // Version notification + fmt.Println("Library version", Version) + // Start the webserver e := routes.NewEcho() routes.RegisterRoutes(e)