-
Notifications
You must be signed in to change notification settings - Fork 10
Right "go fmt" for whole project and fix some redundant usages #3
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was just a learning go project at that time. Never thought someone will contribute. If you do can you please fix the goimports too.
"github.com/stretchr/testify/assert" | ||
"os" | ||
"fmt" | ||
"testing" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you do a Proper goimport too??
printer/es/es.go
Outdated
"strings" | ||
elastigo "github.com/mattbaird/elastigo/lib" | ||
"time" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
goimport
printerHandler.go
Outdated
@@ -1,15 +1,15 @@ | |||
package gologger | |||
|
|||
import ( | |||
"github.com/sadlil/gologger/logger" | |||
"github.com/sadlil/gologger/printer" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
goimport
Sure, I will do it soon |
gologger.go
Outdated
package gologger | ||
|
||
import "github.com/sadlil/gologger/logger" | ||
package main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't use package main. By that we can't import it from other package as lib.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, It was fixed. It was some wrong commit with it. Look at whole changes in PR. But, I'll do it by one commit.
- Changed panic - Fix goimports - Fatal log
Right "go fmt" for whole project and fix some redundant usages