Skip to content

Instantly share code, notes, and snippets.

@jdolitsky
Created July 21, 2022 04:54
Show Gist options
  • Save jdolitsky/9f289d0d5881b97c0b00a36572523053 to your computer and use it in GitHub Desktop.
Save jdolitsky/9f289d0d5881b97c0b00a36572523053 to your computer and use it in GitHub Desktop.
Secure Your Software Factory with melange and apko
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