Skip to content

Commit

Permalink
Merge pull request #90 from bradleyfalzon/readme
Browse files Browse the repository at this point in the history
Fix README example Add should be Append
  • Loading branch information
bradleyfalzon authored Jun 3, 2017
2 parents 547c2ea + 9571406 commit 2750fd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ You may use API methods to fill structures or create them manually to generate p
panic(fmt.Sprintf("Creating of media playlist failed: %s", e))
}
for i := 0; i < 5; i++ {
e = p.Add(fmt.Sprintf("test%d.ts", i), 6.0, "")
e = p.Append(fmt.Sprintf("test%d.ts", i), 6.0, "")
if e != nil {
panic(fmt.Sprintf("Add segment #%d to a media playlist failed: %s", i, e))
}
Expand Down

0 comments on commit 2750fd0

Please sign in to comment.