From 964345f10ffbaa3feaf3f6800f15b2d4e6a4d948 Mon Sep 17 00:00:00 2001 From: David Howden Date: Mon, 2 Apr 2018 08:17:25 +1000 Subject: [PATCH] fix const declarations --- flac.go | 14 +++++++------- ogg.go | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/flac.go b/flac.go index 22e85c5..3221be2 100644 --- a/flac.go +++ b/flac.go @@ -15,13 +15,13 @@ type blockType byte // FLAC block types. const ( - streamInfoBlock blockType = 0 - paddingBlock = 1 - applicationBlock = 2 - seektableBlock = 3 - vorbisCommentBlock = 4 // Supported - cueSheetBlock = 5 - pictureBlock = 6 // Supported + // Stream Info Block 0 + // Padding Block 1 + // Application Block 2 + // Seektable Block 3 + // Cue Sheet Block 5 + vorbisCommentBlock blockType = 4 + pictureBlock blockType = 6 ) // ReadFLACTags reads FLAC metadata from the io.ReadSeeker, returning the resulting diff --git a/ogg.go b/ogg.go index b10535b..81f257d 100644 --- a/ogg.go +++ b/ogg.go @@ -12,7 +12,7 @@ import ( const ( idType int = 1 - commentType = 3 + commentType int = 3 ) // ReadOGGTags reads OGG metadata from the io.ReadSeeker, returning the resulting