5 changed files with 94 additions and 15 deletions
@ -0,0 +1,57 @@
@@ -0,0 +1,57 @@
|
||||
# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. |
||||
|
||||
|
||||
[[projects]] |
||||
name = "github.com/labstack/echo" |
||||
packages = ["."] |
||||
revision = "cec7629194fe4bf83b0c72d9a02d340c7a1468ac" |
||||
version = "3.2.3" |
||||
|
||||
[[projects]] |
||||
name = "github.com/labstack/gommon" |
||||
packages = ["color","log"] |
||||
revision = "779b8a8b9850a97acba6a3fe20feb628c39e17c1" |
||||
version = "0.2.2" |
||||
|
||||
[[projects]] |
||||
name = "github.com/mattn/go-colorable" |
||||
packages = ["."] |
||||
revision = "167de6bfdfba052fa6b2d3664c8f5272e23c9072" |
||||
version = "v0.0.9" |
||||
|
||||
[[projects]] |
||||
name = "github.com/mattn/go-isatty" |
||||
packages = ["."] |
||||
revision = "fc9e8d8ef48496124e79ae0df75490096eccf6fe" |
||||
version = "v0.0.2" |
||||
|
||||
[[projects]] |
||||
branch = "master" |
||||
name = "github.com/valyala/bytebufferpool" |
||||
packages = ["."] |
||||
revision = "e746df99fe4a3986f4d4f79e13c1e0117ce9c2f7" |
||||
|
||||
[[projects]] |
||||
branch = "master" |
||||
name = "github.com/valyala/fasttemplate" |
||||
packages = ["."] |
||||
revision = "dcecefd839c4193db0d35b88ec65b4c12d360ab0" |
||||
|
||||
[[projects]] |
||||
branch = "master" |
||||
name = "golang.org/x/crypto" |
||||
packages = ["acme","acme/autocert"] |
||||
revision = "81e90905daefcd6fd217b62423c0908922eadb30" |
||||
|
||||
[[projects]] |
||||
branch = "master" |
||||
name = "golang.org/x/sys" |
||||
packages = ["unix"] |
||||
revision = "a5054c7c1385fd50d9394475365355a87a7873ec" |
||||
|
||||
[solve-meta] |
||||
analyzer-name = "dep" |
||||
analyzer-version = 1 |
||||
inputs-digest = "e1534696ddba3fee15190f7971602342df68b7eba8217a1438fd7dd150d82ba1" |
||||
solver-name = "gps-cdcl" |
||||
solver-version = 1 |
||||
@ -0,0 +1,3 @@
@@ -0,0 +1,3 @@
|
||||
[[constraint]] |
||||
name = "github.com/labstack/echo" |
||||
version = "3.1.0" |
||||
@ -0,0 +1,18 @@
@@ -0,0 +1,18 @@
|
||||
package main |
||||
|
||||
import ( |
||||
"net/http" |
||||
|
||||
"github.com/labstack/echo" |
||||
) |
||||
|
||||
func main() { |
||||
e := echo.New() |
||||
|
||||
e.Static("/", "assets/public") |
||||
|
||||
e.GET("/", func(c echo.Context) error { |
||||
return c.String(http.StatusOK, "Hello, World!") |
||||
}) |
||||
e.Logger.Fatal(e.Start(":3000")) |
||||
} |
||||
Loading…
Reference in new issue