From 2c5fab6e20794fd8baf5a18154c00142c4c5ce7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Madrigal=20=F0=9F=90=A7?= Date: Tue, 4 Jun 2024 14:32:15 -0400 Subject: [PATCH] Add time.Duration to the list of Go Stdlib Types --- .../java/software/amazon/smithy/go/codegen/GoStdlibTypes.java | 1 + 1 file changed, 1 insertion(+) diff --git a/codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoStdlibTypes.java b/codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoStdlibTypes.java index 2b642c10f..57ef30483 100644 --- a/codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoStdlibTypes.java +++ b/codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoStdlibTypes.java @@ -35,6 +35,7 @@ public static final class Context { public static final class Time { public static final Symbol Time = SmithyGoDependency.TIME.pointableSymbol("Time"); + public static final Symbol Duration = SmithyGoDependency.TIME.valueSymbol("Duration"); } public static final class Encoding {