Skip to content

Commit

Permalink
Using vgo
Browse files Browse the repository at this point in the history
Signed-off-by: Vishal Rana <[email protected]>
  • Loading branch information
vishr committed Nov 10, 2018
1 parent 2a61830 commit 7fd9f68
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 67 deletions.
19 changes: 6 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,13 @@
language: go
go:
- 1.7.x
- 1.8.x
- 1.11.x
- tip
before_install:
- go get github.com/modocache/gover
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
env:
- GO111MODULE=on
script:
- go test -race ./...
- go test -coverprofile=color.coverprofile ./color
- go test -coverprofile=bytes.coverprofile ./bytes
- go test -coverprofile=log.coverprofile ./log
- go test -coverprofile=random.coverprofile ./random
- gover
- goveralls -coverprofile=gover.coverprofile -service=travis-ci
- go test -race -coverprofile=coverage.txt -covermode=atomic ./...
after_success:
- bash <(curl -s https://codecov.io/bash)
matrix:
allow_failures:
- go: tip
45 changes: 0 additions & 45 deletions Gopkg.lock

This file was deleted.

7 changes: 0 additions & 7 deletions Gopkg.toml

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2015 labstack
Copyright (c) 2018 labstack

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion log/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ func (l *Logger) Panic(i ...interface{}) {

func (l *Logger) Panicf(format string, args ...interface{}) {
l.log(panicLevel, format, args...)
panic(fmt.Sprintf(format, args))
panic(fmt.Sprintf(format, args...))
}

func (l *Logger) Panicj(j JSON) {
Expand Down

0 comments on commit 7fd9f68

Please sign in to comment.