Created
July 21, 2022 04:54
-
-
Save jdolitsky/9f289d0d5881b97c0b00a36572523053 to your computer and use it in GitHub Desktop.
Secure Your Software Factory with melange and apko
This file contains 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 ( | |
"net/http" | |
"github.com/gin-gonic/gin" | |
) | |
func main() { | |
r := gin.Default() | |
r.GET("/", func(c *gin.Context) { | |
c.String(http.StatusOK, "Hello World!") | |
}) | |
r.Run() // listen on 0.0.0.0:8080 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment