Skip to content

Commit

Permalink
more lint :)
Browse files Browse the repository at this point in the history
  • Loading branch information
fzerorubigd committed Mar 10, 2018
1 parent b50cd72 commit a47bf6a
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 30 deletions.
5 changes: 0 additions & 5 deletions cmd/test/fix/tt.go

This file was deleted.

19 changes: 0 additions & 19 deletions cmd/test/main.go

This file was deleted.

13 changes: 10 additions & 3 deletions fixture/fixture.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"github.com/fzerorubigd/onion"
)

var X, err = os.Open("the_file")
var x, err = os.Open("the_file")

var Y *os.File
var y *os.File

type f struct {
}
Expand All @@ -24,32 +24,39 @@ type f3 struct {
*onion.Onion
}

// T1 test
type T1 interface {
Test()
}

// T2 Test
type T2 interface {
TestStar()
}

// T3 Test
type T3 interface {
Test()
TestStar()
}

// T4 test
type T4 interface {
T3
SetDelimiter(d string)
}

// NewF test
func NewF() *f {
return &f{}
}

// NewFile test
func NewFile() *os.File {
return Y
return y
}

// NoReturn test
func NoReturn() {

}
Expand Down
3 changes: 0 additions & 3 deletions fixture/notvalid/notvalid.go

This file was deleted.

2 changes: 2 additions & 0 deletions fixture/onion/test.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
package onion

// Layer test
type Layer interface {
}

// New test
func New() Layer {
return nil
}

0 comments on commit a47bf6a

Please sign in to comment.