mirror of
https://github.com/simon987/task_tracker.git
synced 2025-12-12 06:28:50 +00:00
Initial commit
This commit is contained in:
24
main/main.go
Normal file
24
main/main.go
Normal file
@@ -0,0 +1,24 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"src/task_tracker/api"
|
||||
"src/task_tracker/config"
|
||||
"src/task_tracker/storage"
|
||||
)
|
||||
|
||||
func tmpDebugSetup() {
|
||||
|
||||
db := storage.Database{}
|
||||
db.Reset()
|
||||
|
||||
}
|
||||
|
||||
func main() {
|
||||
|
||||
config.SetupConfig()
|
||||
|
||||
tmpDebugSetup()
|
||||
|
||||
webApi := api.New()
|
||||
webApi.Run()
|
||||
}
|
||||
Reference in New Issue
Block a user