예제 #1
0
func (j *jsonWriter) writeHead(s *siegfried.Siegfried) {
	j.w.WriteString(s.JSON())
	j.w.WriteString("\"files\":[")
}
예제 #2
0
func (j *jsonWriter) writeHead(s *siegfried.Siegfried, ht hashTyp) {
	j.hh = ht.header(false)
	j.w.WriteString(s.JSON())
	j.w.WriteString("\"files\":[")
}