// Code generated by hero. // DO NOT EDIT! package template import ( "io" "github.com/shiyanhui/hero" ) func UserListToWriter(userList []string, w io.Writer) (int, error) { _buffer := hero.GetBuffer() defer hero.PutBuffer(_buffer) _buffer.WriteString(` `) for _, user := range userList { _buffer.WriteString(` `) } _buffer.WriteString(` `) return w.Write(_buffer.Bytes()) }