2 writes to Value
Aspire.Hosting.CodeGeneration.Go (2)
GoDeclarationScanner.cs (2)
323
Value
= tag
448
Value
= literal.Length >= 2 && literal[0] == '"' && literal[^1] == '"' ? literal[1..^1] : literal
8 references to Value
Aspire.Hosting.CodeGeneration.Go (4)
AtsGoCodeGenerator.ApiProjection.cs (4)
1051
JsonName = ParseJsonName(declaration.
Value
),
1058
Value = declaration.
Value
,
1091
=> field.
Value
is null ? field.Signature : $"{field.Signature} `{field.
Value
}`";
Aspire.Hosting.CodeGeneration.Go.Tests (4)
GoApiExportTests.cs (4)
631
Assert.Equal("name,omitempty", declarations[1].
Value
![(declarations[1].
Value
!.IndexOf('"') + 1)..declarations[1].
Value
!.LastIndexOf('"')]);
632
Assert.Equal("fast", declarations[4].
Value
);