Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
derElektrobesen committed Oct 1, 2019
1 parent a1bfb50 commit 0bc4fc0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go:
before_install:
- go get github.com/mattn/goveralls
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.15.0
- env GO111MODULE=on go get ./cmd/goqueryset
- env GO111MODULE=on go get ./cmd/goqueryset
script:
- env GO111MODULE=on make test
- env GO111MODULE=on $HOME/gopath/bin/goveralls -ignore "internal/queryset/generator/test/autogenerated_models.go,examples/comparison/*/*.go,internal/queryset/generator/test/pkgimport/*.go,internal/queryset/generator/test/pkgimport/*/*/*.go" -v -service=travis-ci
Expand Down
16 changes: 9 additions & 7 deletions internal/queryset/field/field.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,13 +132,15 @@ func (g InfoGenerator) GenFieldInfo(f Field) *Info {
}
}
return nil
case *types.Array:
if t.Elem().String() == byteType {
return &Info{
BaseInfo: bi,
}
}
return nil
/*
case *types.Array:
if t.Elem().String() == byteType {
return &Info{
BaseInfo: bi,
}
}
return nil
*/
case *types.Named:
r := g.GenFieldInfo(field{
name: f.Name(),
Expand Down

0 comments on commit 0bc4fc0

Please sign in to comment.