This commit is contained in:
kolaente 2018-07-24 13:56:57 +02:00 committed by konrad
parent 9c0c9474e8
commit 9de26f6547
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B
2 changed files with 1 additions and 8 deletions

View file

@ -60,4 +60,3 @@ object once.
## Standard web handler ## Standard web handler
// TBD

View file

@ -11,12 +11,6 @@ import (
"time" "time"
) )
// UserLogin Object to recive user credentials in JSON format
type UserLogin struct {
Username string `json:"username" form:"username"`
Password string `json:"password" form:"password"`
}
// Version sets the version to be printed to the user. Gets overwritten by "make release" or "make build" with last git commit or tag. // Version sets the version to be printed to the user. Gets overwritten by "make release" or "make build" with last git commit or tag.
var Version = "0.1" var Version = "0.1"
@ -37,7 +31,7 @@ func main() {
} }
// Version notification // Version notification
fmt.Println("List version", Version) fmt.Println("Vikunja version", Version)
// Start the webserver // Start the webserver
e := routes.NewEcho() e := routes.NewEcho()