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