Created
October 21, 2022 15:31
-
-
Save Mr-Malomz/74096d9272c703eef061cdd21d95f7fb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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