zikichombo / sio

sound I/O
BSD 3-Clause "New" or "Revised" License
25 stars 4 forks source link

sio: fix golint issues #2

Closed mewmew closed 5 years ago

mewmew commented 5 years ago

Issues fixed:

dev_common.go:93:1: comment on exported var DefaultInputDev should be of the form "DefaultInputDev ..."
dev_common.go:99:1: comment on exported var DefaultForm should be of the form "DefaultForm ..."
dev_common.go:102:1: comment on exported var DefaultCodec should be of the form "DefaultCodec ..."
dev_common.go:105:1: comment on exported var DefaultOutputBufferSize should be of the form "DefaultOutputBufferSize ..."
dev_common.go:108:1: comment on exported var DefaultInputBufferSize should be of the form "DefaultInputBufferSize ..."
input.go:13:1: comment on exported type Input should be of the form "Input ..." (with optional leading article)
iomode.go:10:2: exported const InputMode should have comment (or a comment on this block) or be unexported
output.go:14:1: comment on exported type Output should be of the form "Output ..." (with optional leading article)
output.go:84:23: error strings should not be capitalized or end with punctuation or a newline
packet.go:8:1: comment on exported type Packet should be of the form "Packet ..." (with optional leading article)
pcm_alsa.go:76:21: error strings should not be capitalized or end with punctuation or a newline
pcm_alsa.go:150:21: error strings should not be capitalized or end with punctuation or a newline
pcm_alsa.go:166:21: error strings should not be capitalized or end with punctuation or a newline
pcm_alsa.go:175:21: error strings should not be capitalized or end with punctuation or a newline

Issues remaining:

dev_common.go:17:2: struct field Id should be ID
wsc1 commented 5 years ago

Thanks!