Skip to content

Commit

Permalink
fix gofmt on mixed internal and external tests (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Bice committed Apr 27, 2021
1 parent 4266e0d commit b45ecc5
Show file tree
Hide file tree
Showing 8 changed files with 709 additions and 201 deletions.
4 changes: 4 additions & 0 deletions adapters/logrus/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ func (this *Logger) Error(args ...interface{}) {
this.entry.Error(args...)
}

func (this *Logger) Debugf(format string, args ...interface{}) {
this.entry.Debugf(format, args...)
}

func (this *Logger) Debug(args ...interface{}) {
this.entry.Debug(args...)
}
Expand Down
1 change: 1 addition & 0 deletions domain/wollemi/BUILD.plz
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ go_library(
srcs = glob(["*.go"], exclude = ["*_test.go"]),
visibility = ["//..."],
deps = [
"//domain/optional",
"//ports/golang",
"//ports/logging",
"//ports/please",
Expand Down
26 changes: 15 additions & 11 deletions domain/wollemi/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,15 +268,19 @@ func (this *Service) ParseDir(buf *bytes.Buffer, dir *Directory) *Directory {
}

type Directory struct {
Path string
Rule string
Gopkg *golang.Package
Build please.File
Ok bool
Rewrite bool
InRunPath bool
Files map[string]os.FileInfo
GoFiles []string
BuildFiles []string
HasGoFile bool
Path string `json:"path,omitempty"`
Rule string `json:"-"`
Gopkg *golang.Package `json:"gopkg,omitempty"`
Build please.File `json:"-"`
Ok bool `json:"-"`
Rewrite bool `json:"-"`
InRunPath bool `json:"-"`
Files map[string]os.FileInfo `json:"-"`
GoFiles []string `json:"-"`
BuildFiles []string `json:"-"`
HasGoFile bool `json:"-"`
}

func (Directory) String() string {
return "{}"
}
Loading

0 comments on commit b45ecc5

Please sign in to comment.