cleanup
This commit is contained in:
parent
9c0c9474e8
commit
9de26f6547
2 changed files with 1 additions and 8 deletions
|
@ -60,4 +60,3 @@ object once.
|
||||||
|
|
||||||
## Standard web handler
|
## Standard web handler
|
||||||
|
|
||||||
// TBD
|
|
8
main.go
8
main.go
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue