mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-18 04:54:27 -04:00
style: add comments to the public methods and members in the root package.
This commit is contained in:
@ -8,6 +8,7 @@ type Instrument struct {
|
||||
Units []Unit
|
||||
}
|
||||
|
||||
// Copy makes a deep copy of an Instrument
|
||||
func (instr *Instrument) Copy() Instrument {
|
||||
units := make([]Unit, len(instr.Units))
|
||||
for i, u := range instr.Units {
|
||||
|
Reference in New Issue
Block a user