You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
250 B
Go
17 lines
250 B
Go
2 years ago
|
package main
|
||
|
|
||
|
import (
|
||
|
"log"
|
||
|
|
||
|
"aziis98.com/template-go-vitejs/backend/database"
|
||
|
"aziis98.com/template-go-vitejs/backend/server"
|
||
|
)
|
||
|
|
||
|
func main() {
|
||
|
srv := server.New(server.Dependencies{
|
||
|
DB: &database.Mem{},
|
||
|
})
|
||
|
|
||
|
log.Fatal(srv.Listen(":4000"))
|
||
|
}
|