docs(tracker): improve package go doc comments

This commit is contained in:
5684185+vsariola@users.noreply.github.com 2023-10-19 21:38:47 +03:00
parent a9517f1511
commit 1a8a317464
3 changed files with 6 additions and 2 deletions

4
tracker/doc.go Normal file
View File

@ -0,0 +1,4 @@
/*
Package tracker contains the data model for the Sointu tracker GUI.
*/
package tracker

View File

@ -124,9 +124,9 @@ func main() {
outputFile, err := os.Create("gmdlsentries.go")
check(err)
defer outputFile.Close()
fmt.Fprintln(outputFile, "// Code generated by go generate; DO NOT EDIT.")
fmt.Fprintln(outputFile, "package tracker")
fmt.Fprintln(outputFile, "")
fmt.Fprintln(outputFile, "// Code generated by go generate; DO NOT EDIT.")
fmt.Fprintln(outputFile, "var GmDlsEntries = []GmDlsEntry{")
readChunk(0, inputFile, &gmDlsVisitor{outputFile: outputFile})
fmt.Fprintln(outputFile, "}")

View File

@ -1,6 +1,6 @@
// Code generated by go generate; DO NOT EDIT.
package tracker
// Code generated by go generate; DO NOT EDIT.
var GmDlsEntries = []GmDlsEntry{
{Start: 140078, LoopStart: 1353, LoopLength: 91, SuggestedTranspose: 1, Name: "101BS35"},
{Start: 141606, LoopStart: 1380, LoopLength: 43, SuggestedTranspose: -12, Name: "101BS48"},