This commit is contained in:
vxclutch
2026-05-27 08:30:51 -04:00
parent 060200c998
commit 71ffad466b
12 changed files with 175 additions and 66 deletions

20
cmd/lash/main.go Normal file
View File

@@ -0,0 +1,20 @@
package main
import (
_ "embed"
"lash"
"lash/internal/app"
"lash/internal/errx"
"net/http"
)
func main() {
srv := app.New()
errx.Log("Your token is \033[1;92m%s\033[0m", lash.Token)
errx.Log("starting server at http://127.0.0.1:1337")
if err := http.ListenAndServe(":1337", srv); err != nil {
errx.FatalPerror(err)
}
}