forked from loafle/openapi-generator-original
fixed spacing issue
This commit is contained in:
parent
db9684ff19
commit
ef71d50eee
@ -2,14 +2,14 @@ package main
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
sw "./{{apiPath}}"
|
sw "./{{apiPath}}"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
log.Printf("Server started")
|
log.Printf("Server started")
|
||||||
|
|
||||||
router := sw.NewRouter()
|
router := sw.NewRouter()
|
||||||
|
|
||||||
log.Fatal(http.ListenAndServe(":{{serverPort}}", router))
|
log.Fatal(http.ListenAndServe(":{{serverPort}}", router))
|
||||||
}
|
}
|
||||||
|
Binary file not shown.
@ -2,14 +2,14 @@ package main
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
sw "./go"
|
sw "./go"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
log.Printf("Server started")
|
log.Printf("Server started")
|
||||||
|
|
||||||
router := sw.NewRouter()
|
router := sw.NewRouter()
|
||||||
|
|
||||||
log.Fatal(http.ListenAndServe(":8080", router))
|
log.Fatal(http.ListenAndServe(":8080", router))
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user