15 lines
225 B
Go
15 lines
225 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"github.com/gin-gonic/gin"
|
||
|
"gitlab.libraryofcode.org/engineering/certificate-api/routes"
|
||
|
)
|
||
|
|
||
|
func main() {
|
||
|
router := gin.Default()
|
||
|
|
||
|
router.GET("/", routes.GetCertificateInfo)
|
||
|
|
||
|
router.Run(":3030")
|
||
|
}
|