Skip to content

Commit 1505f90

Browse files
committed
basic main
1 parent 6bbafd8 commit 1505f90

File tree

4 files changed

+125
-1
lines changed

4 files changed

+125
-1
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/vendor/*

Gopkg.lock

+107-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gopkg.toml

+4
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,7 @@
2828
[prune]
2929
go-tests = true
3030
unused-packages = true
31+
32+
[[constraint]]
33+
name = "github.com/labstack/echo"
34+
version = "4.1.6"

cmd/app/main.go

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package main
2+
3+
import (
4+
"github.com/labstack/echo"
5+
"github.com/labstack/gommon/log"
6+
)
7+
8+
func main() {
9+
e := echo.New()
10+
e.Logger.SetLevel(log.DEBUG)
11+
12+
e.Logger.Fatal(e.Start(":8888"))
13+
}

0 commit comments

Comments
 (0)