update types

This commit is contained in:
2025-09-04 23:00:57 +04:00
parent 81383d1ea7
commit 7e89fa174b
10 changed files with 466 additions and 20 deletions

View File

@@ -8,8 +8,8 @@ func (body Body) String() string {
type Bodies []Body
func (bodies *Bodies) Append(body Body) {
*bodies = append(*bodies, body)
func (bodies *Bodies) Append(body ...Body) {
*bodies = append(*bodies, body...)
}
func (bodies *Bodies) Parse(rawValues ...string) {