以下の内容はhttps://shuzo-kino.hateblo.jp/entry/2017/03/14/235831より取得しました。


go用の軽量WEB鯖echo

go用の軽量WEB鯖echo

実際のところ

導入はパッケージ

$ go get -u github.com/labstack/echo

最小構成はこんな感じ

package main

import (
	"net/http"
	"github.com/labstack/echo"
)

func main() {
	e := echo.New()

	e.GET("/", mainpage)

	e.Logger.Fatal(e.Start(":1323"))
}

func mainpage(c echo.Context) error {
	return c.String(http.StatusOK, "Hello, World!")
}



以上の内容はhttps://shuzo-kino.hateblo.jp/entry/2017/03/14/235831より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14