vikunja-api/vendor/github.com/laurent22/ical-go/lib.go
2019-05-24 19:45:33 +02:00

18 lines
275 B
Go

package ical
import (
"bytes"
"fmt"
)
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()
}