Skip to content

Commit 2d96fae

Browse files
committed
refactor method name and added go1.7
1 parent 6f0f72e commit 2d96fae

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
_obj
88
_test
99

10+
# test
11+
coverage.out
12+
1013
# Architecture specific extensions/prefixes
1114
*.[568vq]
1215
[568vq].out

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ branches:
88
- develop
99

1010
go:
11-
- 1.5
1211
- 1.6
12+
- 1.7
1313
- tip
1414

1515
before_install:

formatter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ type FlagPart struct {
3232
// For e.g.:
3333
// %time:2006-01-02 15:04:05.000 %level %custom:- %msg
3434
func parseFlag(format string) (*[]FlagPart, error) {
35-
if ess.StrIsEmpty(format) {
35+
if ess.IsStrEmpty(format) {
3636
return nil, ErrFormatStringEmpty
3737
}
3838

log.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ type Logger interface {
188188

189189
// New creates the logger based config supplied
190190
func New(configStr string) (Logger, error) {
191-
if ess.StrIsEmpty(configStr) {
191+
if ess.IsStrEmpty(configStr) {
192192
return nil, errors.New("logger config is empty")
193193
}
194194

0 commit comments

Comments
 (0)