Assisted-by: GLM 5.3 Flash
This commit is contained in:
@@ -131,9 +131,9 @@ The value `MarshalTOML` returns is encoded in place of the receiver;
|
||||
|
||||
```go
|
||||
out, err := interpres.NewEncoder().
|
||||
GroupByKind(false). // preserve declaration order
|
||||
Layout(interpres.LayoutKindDeclaration), // preserve declaration order
|
||||
OmitEmptyArrays(). // skip empty scalar arrays
|
||||
UseLiteralMultiline(80). // long multi-line strings as literal blocks
|
||||
LiteralMultiline(80), // long multi-line strings as literal blocks
|
||||
Marshal(cfg)
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user