13 lines
220 B
Go
13 lines
220 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"go.digitalcircle.com.br/tools/apigen/test/goapi"
|
||
|
"net/http"
|
||
|
)
|
||
|
|
||
|
func main() {
|
||
|
aapi := goapi.Init()
|
||
|
http.DefaultServeMux.HandleFunc("/", aapi.Mux.ServeHTTP)
|
||
|
http.ListenAndServe(":8080", nil)
|
||
|
}
|