From 1c983417cdb68fb92ec6c04f3f0d180f26cb2b46 Mon Sep 17 00:00:00 2001 From: Unbewohnte Date: Wed, 7 Jul 2021 13:50:41 +0300 Subject: [PATCH] Updated README --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index ef5d4b0..ed90472 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ go install github.com/Unbewohnte/id3ed/... # ∙ Usage -## ⚬ Decoding ID3v1.1 +## ⚬ Decoding ID3v1 ``` package main @@ -46,7 +46,7 @@ func main() { } // extract ID3v1.1 tags - mp3tags, err := id3v1.Getv11Tags(mp3file) + mp3tags, err := id3v1.Getv1Tag(mp3file) if err != nil { panic(err) } @@ -62,7 +62,7 @@ func main() { } ``` -## ⚬ Encoding ID3v1.1 +## ⚬ Encoding ID3v1 ``` package main @@ -79,7 +79,7 @@ func main() { defer f.Close() // create your tags struct - tags := &id3v1.ID3v11Tags{ + tag := &id3v1.ID3v1Tag{ SongName: "mysong", Artist: "me", Album: "my album", @@ -90,7 +90,7 @@ func main() { } // write tags to file - err = tags.WriteToFile(f) + err = tag.WriteToFile(f) if err != nil { panic(err) }