diff options
author | 2017-09-24 15:32:45 +0000 | |
---|---|---|
committer | 2017-09-24 15:32:45 +0000 | |
commit | 0d1e4cf5b7dc60b1f0a45eb06a120df058ff4077 (patch) | |
tree | e0484ac86358087324bc4a9018902a5fd1a32f86 /tensorflow/go/example_inception_inference_test.go | |
parent | d2d42ee8b3e134de4c11055b695c0e16e6186b73 (diff) |
Fix several issues with `go fmt` and `go lint`
This fix fixes several issues related to `go fmt` and `go lint`
based on https://goreportcard.com/report/github.com/tensorflow/tensorflow
There are several changes:
- `gofmt -s tensorflow/go/tensor.go`
- `gofmt -s tensorflow/go/example_inception_inference_test.go`
- `golint tensorflow/go/genop/internal/lib.go`
At the moment there are still quite a few golint and ineffassign warnings
in the current go code base. However, all of them are from `tensorflow/go/op/wrappers.go`
which is machine generated code.
This fix does not cover `tensorflow/go/op/wrappers.go`.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Diffstat (limited to 'tensorflow/go/example_inception_inference_test.go')
-rw-r--r-- | tensorflow/go/example_inception_inference_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/go/example_inception_inference_test.go b/tensorflow/go/example_inception_inference_test.go index 2162fbe484..f84a588899 100644 --- a/tensorflow/go/example_inception_inference_test.go +++ b/tensorflow/go/example_inception_inference_test.go @@ -28,8 +28,8 @@ import ( "os" "path/filepath" - "github.com/tensorflow/tensorflow/tensorflow/go/op" tf "github.com/tensorflow/tensorflow/tensorflow/go" + "github.com/tensorflow/tensorflow/tensorflow/go/op" ) func Example() { |