You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I updated GolangAppHostingExtension to support specifying Go build tags
to be used when building and running Go applications. Go build tags can
be used to include or exclude files from the build process based On
specific conditions. For example, when using Aspire for development, a
Go developer may use a build tag to enable special code for
OpenTelemetry instrumentation or enable debugging features.
Closes#730
Copy file name to clipboardExpand all lines: src/CommunityToolkit.Aspire.Hosting.Golang/GolangAppHostingExtension.cs
+15-4Lines changed: 15 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -15,16 +15,27 @@ public static class GolangAppHostingExtension
15
15
/// <param name="name">The name of the resource.</param>
16
16
/// <param name="workingDirectory">The working directory to use for the command. If null, the working directory of the current process is used.</param>
17
17
/// <param name="args">The optinal arguments to be passed to the executable when it is started.</param>
18
+
/// <param name="buildTags">The optional build tags to be used when building the Golang application.</param>
18
19
/// <returns>A reference to the <see cref="IResourceBuilder{T}"/>.</returns>
0 commit comments