Added some more godoc comments.

This commit is contained in:
David Howden 2015-06-06 16:29:40 +10:00
parent 6cd7fd8f70
commit ddaa43f29c
2 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,7 @@ import (
// BlockType is a type which represents an enumeration of valid FLAC blocks
type BlockType byte
// FLAC block types.
const (
StreamInfoBlock BlockType = 0
PaddingBlock = 1

2
tag.go
View File

@ -52,6 +52,7 @@ func ReadFrom(r io.ReadSeeker) (Metadata, error) {
// Format is an enumeration of metadata types supported by this package.
type Format string
// Supported tag formats.
const (
ID3v1 Format = "ID3v1" // ID3v1 tag format.
ID3v2_2 = "ID3v2.2" // ID3v2.2 tag format.
@ -66,6 +67,7 @@ const (
// between them.
type FileType string
// Supported file types.
const (
MP3 FileType = "MP3" // MP3 file
AAC = "AAC" // M4A file (MP4)