All Downloads are FREE. Search and download functionalities are using the official Maven repository.

go-gin-server.main.mustache Maven / Gradle / Ivy

{{>partial_header}}
package main

import (
	"log"

	// WARNING!
	// Change this to a fully-qualified import path
	// once you place this file into your project.
	// For example,
	//
	//    sw "github.com/myname/myrepo/{{apiPath}}"
	//
	sw "./{{apiPath}}"
)

func main() {
	log.Printf("Server started")

	router := sw.NewRouter()

	log.Fatal(router.Run(":{{serverPort}}"))
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy