♻️ Anonymous structs are cool

This commit is contained in:
Dan Jones 2023-03-27 20:48:25 -05:00
commit 673b42394c
2 changed files with 3 additions and 9 deletions

View file

@ -6,10 +6,6 @@ import (
"log"
)
type passReq struct {
Pass string `json:"pass"`
}
func run(cmd *cobra.Command, args []string) {
app := web.New()
log.Fatal(app.Listen(":3000"))