mirror of
https://github.com/aykhans/dodo.git
synced 2025-09-05 10:43:37 +00:00
update types
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user