Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

moves a few 3rd party deps into the internal package. this reduces dependencies. #399

Merged
merged 1 commit into from
Jun 14, 2019

Conversation

markbates
Copy link
Member

No description provided.

@markbates markbates requested a review from a team as a code owner June 14, 2019 16:36
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Found some fixes!

P.S. share your ideas, feedbacks or issues with us at https://github.com/fixmie/feedback (this message will be removed after the beta stage).

return s1
}

func Int(i1, i2 int) int {
Copy link

Choose a reason for hiding this comment

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

exported identifier "Int" should have comment

Suggested change
func Int(i1, i2 int) int {
// Int ...
func Int(i1, i2 int) int {

return i1
}

func Int64(i1, i2 int64) int64 {
Copy link

Choose a reason for hiding this comment

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

exported identifier "Int64" should have comment

Suggested change
func Int64(i1, i2 int64) int64 {
// Int64 ...
func Int64(i1, i2 int64) int64 {

return i1
}

func Float32(i1, i2 float32) float32 {
Copy link

Choose a reason for hiding this comment

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

exported identifier "Float32" should have comment

Suggested change
func Float32(i1, i2 float32) float32 {
// Float32 ...
func Float32(i1, i2 float32) float32 {

return i1
}

func Float64(i1, i2 float64) float64 {
Copy link

Choose a reason for hiding this comment

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

exported identifier "Float64" should have comment

Suggested change
func Float64(i1, i2 float64) float64 {
// Float64 ...
func Float64(i1, i2 float64) float64 {


var deprecationWriter io.Writer = os.Stdout

func Deprecate(depth int, name string, msg string) {
Copy link

Choose a reason for hiding this comment

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

exported identifier "Deprecate" should have comment

Suggested change
func Deprecate(depth int, name string, msg string) {
// Deprecate ...
func Deprecate(depth int, name string, msg string) {


var deprecationWriter io.Writer = os.Stdout

func Deprecate(depth int, name string, msg string) {
Copy link

Choose a reason for hiding this comment

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

two or more consecutive named function parameters share a type, you can omit the type from all but the last

Suggested change
func Deprecate(depth int, name string, msg string) {
func Deprecate(depth int, name, msg string) {


var onces = &sync.Map{}

func Do(name string, fn func()) {
Copy link

Choose a reason for hiding this comment

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

exported identifier "Do" should have comment

Suggested change
func Do(name string, fn func()) {
// Do ...
func Do(name string, fn func()) {

}
}

func Reset(names ...string) {
Copy link

Choose a reason for hiding this comment

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

exported identifier "Reset" should have comment

Suggested change
func Reset(names ...string) {
// Reset ...
func Reset(names ...string) {

@stanislas-m stanislas-m merged commit 05102f3 into development Jun 14, 2019
@stanislas-m stanislas-m deleted the less-deps branch June 14, 2019 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants