mirror of
https://github.com/rjNemo/go-pass-gen
synced 2026-06-06 02:46:40 +00:00
22 lines
257 B
Go
22 lines
257 B
Go
package main
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/rjNemo/go-pass-gen/api"
|
|
"github.com/rjNemo/go-pass-gen/cmd"
|
|
)
|
|
|
|
func main() {
|
|
//serveWeb()
|
|
cli()
|
|
}
|
|
|
|
func cli() {
|
|
cmd.Execute()
|
|
}
|
|
|
|
func serveWeb() {
|
|
s := api.NewServer()
|
|
http.ListenAndServe(":8080", s)
|
|
}
|