diff --git a/codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SmithyGoDependency.java b/codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SmithyGoDependency.java
index 8c09c6d33..a9a00424e 100644
--- a/codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SmithyGoDependency.java
+++ b/codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/SmithyGoDependency.java
@@ -118,7 +118,7 @@ private static GoDependency relativePackage(
private static final class Versions {
private static final String GO_STDLIB = "1.15";
private static final String GO_CMP = "v0.5.4";
- private static final String SMITHY_GO = "v1.0.0";
+ private static final String SMITHY_GO = "v1.1.0";
private static final String GO_JMESPATH = "v0.4.0";
}
}
diff --git a/encoding/xml/xml_decoder_test.go b/encoding/xml/xml_decoder_test.go
index 802fd4a58..4c48fd218 100644
--- a/encoding/xml/xml_decoder_test.go
+++ b/encoding/xml/xml_decoder_test.go
@@ -183,11 +183,11 @@ func TestXMLNodeDecoder_Value(t *testing.T) {
expectedValue: []byte(`abc`),
},
"no value": {
- responseBody: bytes.NewReader([]byte(``)),
+ responseBody: bytes.NewReader([]byte(``)),
expectedValue: []byte{},
},
"self-closing": {
- responseBody: bytes.NewReader([]byte(``)),
+ responseBody: bytes.NewReader([]byte(``)),
expectedValue: []byte{},
},
"empty body": {
diff --git a/time/time.go b/time/time.go
index 35a387031..54f9f0fef 100644
--- a/time/time.go
+++ b/time/time.go
@@ -49,7 +49,7 @@ func ParseHTTPDate(value string) (time.Time, error) {
// Example: 1515531081.123
func FormatEpochSeconds(value time.Time) float64 {
ms := value.UnixNano() / int64(time.Millisecond)
- return float64(ms)/1e3
+ return float64(ms) / 1e3
}
// ParseEpochSeconds returns value as a Unix time in seconds with with decimal precision
diff --git a/time/time_test.go b/time/time_test.go
index 4b3b698d6..1ec65a4b0 100644
--- a/time/time_test.go
+++ b/time/time_test.go
@@ -65,7 +65,7 @@ func TestEpochSeconds(t *testing.T) {
expectedTime: time.Date(2018, 1, 9, 20, 51, 21, 1.23e8, time.UTC),
},
{
- reference: time.Unix(0, math.MaxInt64).UTC(),
+ reference: time.Unix(0, math.MaxInt64).UTC(),
expectedUnix: 9223372036.854,
expectedTime: time.Date(2262, 04, 11, 23, 47, 16, 8.54e8, time.UTC),
},
diff --git a/transport/http/middleware_content_length_test.go b/transport/http/middleware_content_length_test.go
index 116cee762..cd27849d1 100644
--- a/transport/http/middleware_content_length_test.go
+++ b/transport/http/middleware_content_length_test.go
@@ -31,7 +31,7 @@ func TestContentLengthMiddleware(t *testing.T) {
ExpectLen: 5,
},
"empty stream": {
- Stream: strings.NewReader(""),
+ Stream: strings.NewReader(""),
ExpectLen: 0,
},
"nil stream": {
diff --git a/transport/http/middleware_http_logging_test.go b/transport/http/middleware_http_logging_test.go
index f431edbc4..f016abc32 100644
--- a/transport/http/middleware_http_logging_test.go
+++ b/transport/http/middleware_http_logging_test.go
@@ -33,8 +33,7 @@ func TestRequestResponseLogger(t *testing.T) {
Output *smithyhttp.Response
ExpectedLog string
}{
- "no logging": {
- },
+ "no logging": {},
"request": {
Middleware: smithyhttp.RequestResponseLogger{
LogRequest: true,