Skip to content

Instantly share code, notes, and snippets.

@Mr-Malomz
Created October 21, 2022 15:31
Show Gist options
  • Save Mr-Malomz/74096d9272c703eef061cdd21d95f7fb to your computer and use it in GitHub Desktop.
Save Mr-Malomz/74096d9272c703eef061cdd21d95f7fb to your computer and use it in GitHub Desktop.
package main
import (
"go-sms-verification/api"
"github.com/gin-gonic/gin"
)
func main() {
router := gin.Default()
//initialize config
app := api.Config{Router: router}
//routes
app.Routes()
router.Run(":80")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment