Skip to content
This repository has been archived by the owner on Jan 8, 2019. It is now read-only.

Right "go fmt" for whole project and fix some redundant usages #3

Merged
merged 1 commit into from
Jan 31, 2018

Conversation

dink10
Copy link
Contributor

@dink10 dink10 commented Jan 17, 2018

Right "go fmt" for whole project and fix some redundant usages

Copy link
Owner

@sadlil sadlil left a 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"
Copy link
Owner

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"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

goimport

@@ -1,15 +1,15 @@
package gologger

import (
"github.com/sadlil/gologger/logger"
"github.com/sadlil/gologger/printer"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

goimport

@dink10
Copy link
Contributor Author

dink10 commented Jan 23, 2018

Sure, I will do it soon

gologger.go Outdated
package gologger

import "github.com/sadlil/gologger/logger"
package main
Copy link
Owner

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.

Copy link
Contributor Author

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
@sadlil sadlil merged commit 2507bf6 into sadlil:master Jan 31, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants