Fix trivial style errors reported by go vet and golint

No substantial code change.
Note that some style errors reported by `golint` are not fixed due to possible compatibility issues.

Signed-off-by: Akihiro Suda <suda.kyoto@gmail.com>
This commit is contained in:
Akihiro Suda
2016-04-12 08:12:23 +00:00
parent af0cc71369
commit 1829531241
25 changed files with 78 additions and 82 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ package libcontainer
import "io"
// API error code type.
// ErrorCode is the API error code type.
type ErrorCode int
// API error codes.
@@ -56,7 +56,7 @@ func (c ErrorCode) String() string {
}
}
// API Error type.
// Error is the API error type.
type Error interface {
error