♻️ Anonymous structs are cool
This commit is contained in:
parent
2ac49565fd
commit
673b42394c
2 changed files with 3 additions and 9 deletions
|
|
@ -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"))
|
||||
|
|
|
|||
Reference in a new issue