Args appends a list of arguments to the builder.
(a ...any)
| 3188 | |
| 3189 | // Args appends a list of arguments to the builder. |
| 3190 | func (b *Builder) Args(a ...any) *Builder { |
| 3191 | for i := range a { |
| 3192 | if i > 0 { |
| 3193 | b.Comma() |
| 3194 | } |
| 3195 | b.Arg(a[i]) |
| 3196 | } |
| 3197 | return b |
| 3198 | } |
| 3199 | |
| 3200 | // Argf appends an input argument to the builder |
| 3201 | // with the given format. For example: |