Last active
November 2, 2017 14:54
-
-
Save boanergepro/83873f55fdba52111b30ace4d0d49086 to your computer and use it in GitHub Desktop.
Como crear un servidor en go usando iris
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( | |
"github/kataras/iris" | |
) | |
func main() { | |
app := iris.New() | |
app.Get("/", func(contexto iris.Context){ | |
contexto.HTML("<h1>Hola Mundo</h1>") | |
}) | |
app.Run(iris.Addr(":8080")) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment