func init() { rw := &htmlWriter{} f := &format.Format{ Name: "html", Writer: rw, Extensions: []string{".html", ".htm"}, } format.Register(f) }
func init() { rw := &cpReaderWriter{} f := &format.Format{ Name: "chordpro", Reader: rw, Writer: rw, Extensions: []string{".cho", ".chordpro", ".chopro"}, } format.Register(f) }
func init() { rw := &plainReaderWriter{} f := &format.Format{ Name: "chordsOverLyrics", Reader: rw, Writer: rw, Extensions: []string{".txt"}, } format.Register(f) }