Skip to content

Instantly share code, notes, and snippets.

@Depado Depado/block1.go Secret
Created Jul 3, 2018

What would you like to do?
package main
import (
func main() {
r := gin.Default()
r.GET("/health", func(c *gin.Context) {
c.JSON(http.StatusOK, gin.H{"alive": true})
if err := r.Run(""); err != nil {
logrus.WithError(err).Fatal("Couldn't listen")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.