1
0
mirror of https://github.com/gfleury/go-bitbucket-v1.git synced 2025-04-11 19:58:05 -05:00
2020-03-18 15:20:48 -03:00

16 lines
212 B
Go

package swagger
import (
"fmt"
"log"
"net/http"
)
func RunServer(port int) error {
log.Printf("Mock Server started")
router := NewRouter()
return http.ListenAndServe(fmt.Sprintf(":%d", port), router)
}