vikunja-api/vendor/github.com/laurent22/ical-go/ical/lib.go
2019-05-22 17:48:48 +00:00

18 lines
280 B
Go

package ical
import (
"fmt"
"bytes"
)
type strBuffer struct {
buffer bytes.Buffer
}
func (b *strBuffer) Write(format string, elem ...interface{}) {
b.buffer.WriteString(fmt.Sprintf(format, elem...))
}
func (b *strBuffer) String() string {
return b.buffer.String()
}