GO API: MAIN FUNC
Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.
package main
import (
sw "test.com/goapi/app"
"log"
"net/http"
)
func main() {
router := sw.NewRouter()
log.Println("listen on:9090")
log.Fatal(http.ListenAndServe(":"+"9090", router))
}
Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.
Comments
Post a Comment