Skip to content

Commit

Permalink
Merge pull request #2 from Jeremy-boo/dev
Browse files Browse the repository at this point in the history
Add Single LinkedList
  • Loading branch information
Jeremy-boo authored Oct 22, 2020
2 parents 5669675 + c34e7cb commit 9cf7884
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 17 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/go-util-tour.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: |
export PATH=$PATH:$(go env GOPATH)/bin # temporary fix. See https://github.com/actions/setup-go/issues/14
go get -u golang.org/x/lint/golint
make lint:
make lint
test:
name: Test
Expand All @@ -44,18 +44,18 @@ jobs:
with:
token: ${{secrets.CODECOV_TOKEN}}
file: ./coverage.txt
build:
name: Build
runs-on: ubuntu-latest
needs: [lint,test]
steps:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: ^1.14

- name: Check out code
uses: actions/checkout@v1

- name: Build
run: make build
#build:
#name: Build
#runs-on: ubuntu-latest
#needs: [lint,test]
#steps:
# - name: Set up Go
# uses: actions/setup-go@v1
# with:
# go-version: ^1.14

#- name: Check out code
# uses: actions/checkout@v1

#- name: Build
# run: make build
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PROJECT_NAME := "ithub.com/jeremy-boo/go-util-tour"
PROJECT_NAME := "github.com/jeremy-boo/go-util-tour"
PKG := "$(PROJECT_NAME)"
PKG_LIST := $(shell go list ${PKG}/... | grep -v /vendor/)
GO_FILES := $(shell find . -name '*.go' | grep -v /vendor/ | grep -v _test.go)
Expand Down
1 change: 1 addition & 0 deletions middlerware/logger/const.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package logger

// Log constants, should be written in the configuration file.
const (
LogLevel = "debug"
FileName = "./log/debug.log"
Expand Down
1 change: 1 addition & 0 deletions middlerware/logger/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"go.uber.org/zap/zapcore"
)

// Logger zap log
var Logger *zap.Logger

// InitLogger Initialization log
Expand Down

0 comments on commit 9cf7884

Please sign in to comment.