Go vet fixes for donut

This commit is contained in:
Harshavardhana
2015-06-24 21:00:28 -07:00
parent 57a2b53178
commit 03b4d3b308
6 changed files with 19 additions and 18 deletions
+2 -2
View File
@@ -42,8 +42,8 @@ func getErasureTechnique(technique string) (encoding.Technique, error) {
}
}
// NewEncoder - instantiate a new encoder
func NewEncoder(k, m uint8, technique string) (encoder, error) {
// newEncoder - instantiate a new encoder
func newEncoder(k, m uint8, technique string) (encoder, error) {
errParams := map[string]string{
"k": strconv.FormatUint(uint64(k), 10),
"m": strconv.FormatUint(uint64(m), 10),