Added some more godoc comments.
This commit is contained in:
parent
6cd7fd8f70
commit
ddaa43f29c
1
flac.go
1
flac.go
@ -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
2
tag.go
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user