· 9 years ago · Oct 02, 2016, 06:38 PM
1please follow the 'golint' suggestions in exercises/accumulate
2example.go:3:1: exported function Accumulate should have comment or be unexported
3
4please follow the 'golint' suggestions in exercises/allergies
5example.go:9:1: exported function Allergies should have comment or be unexported
6example.go:18:1: exported function AllergicTo should have comment or be unexported
7
8please follow the 'golint' suggestions in exercises/anagram
9example.go:8:1: exported function Detect should have comment or be unexported
10
11please follow the 'golint' suggestions in exercises/atbash-cipher
12example.go:10:1: exported function Atbash should have comment or be unexported
13
14please follow the 'golint' suggestions in exercises/bank-account
15example.go:5:6: exported type Account should have comment or be unexported
16example.go:11:1: exported function Open should have comment or be unexported
17example.go:18:1: exported method Account.Balance should have comment or be unexported
18example.go:25:1: exported method Account.Deposit should have comment or be unexported
19example.go:38:1: exported method Account.Close should have comment or be unexported
20
21please follow the 'golint' suggestions in exercises/binary-search
22example.go:5:1: exported function SearchInts should have comment or be unexported
23example.go:16:1: exported function Message should have comment or be unexported
24
25please follow the 'golint' suggestions in exercises/binary-search-tree
26example.go:3:6: exported type SearchTreeData should have comment or be unexported
27example.go:9:1: exported function Bst should have comment or be unexported
28example.go:13:1: exported method SearchTreeData.Insert should have comment or be unexported
29example.go:31:1: exported method SearchTreeData.MapString should have comment or be unexported
30example.go:44:1: exported method SearchTreeData.MapInt should have comment or be unexported
31
32please follow the 'golint' suggestions in exercises/bob
33example.go:7:1: exported function Hey should have comment or be unexported
34
35please follow the 'golint' suggestions in exercises/clock
36example.go:7:6: exported type Clock should have comment or be unexported
37example.go:9:1: exported function New should have comment or be unexported
38example.go:17:1: exported method Clock.Add should have comment or be unexported
39
40please follow the 'golint' suggestions in exercises/connect
41example.go:115:9: if block ends with a return statement, so drop this else and outdent its block
42example.go:127:9: if block ends with a return statement, so drop this else and outdent its block
43
44please follow the 'golint' suggestions in exercises/counter
45example.go:9:1: exported function TestNoAdd should have comment or be unexported
46example.go:22:1: exported function TestEmptyString should have comment or be unexported
47example.go:36:1: exported function TestASCIIString should have comment or be unexported
48example.go:50:1: exported function TestRussianString should have comment or be unexported
49impl1.go:5:1: comment on exported type Impl1 should be of the form "Impl1 ..." (with optional leading article)
50impl1.go:10:1: exported method Impl1.AddString should have comment or be unexported
51impl1.go:21:1: exported method Impl1.Lines should have comment or be unexported
52impl1.go:22:1: exported method Impl1.Letters should have comment or be unexported
53impl1.go:23:1: exported method Impl1.Characters should have comment or be unexported
54impl2.go:3:1: comment on exported type Impl2 should be of the form "Impl2 ..." (with optional leading article)
55impl2.go:9:1: exported method Impl2.AddString should have comment or be unexported
56impl2.go:21:1: exported method Impl2.Lines should have comment or be unexported
57impl2.go:32:1: exported method Impl2.Letters should have comment or be unexported
58impl2.go:33:1: exported method Impl2.Characters should have comment or be unexported
59impl3.go:5:1: comment on exported type Impl3 should be of the form "Impl3 ..." (with optional leading article)
60impl3.go:11:1: exported method Impl3.AddString should have comment or be unexported
61impl3.go:24:1: exported method Impl3.Lines should have comment or be unexported
62impl3.go:35:1: exported method Impl3.Letters should have comment or be unexported
63impl3.go:36:1: exported method Impl3.Characters should have comment or be unexported
64impl4.go:5:1: comment on exported type Impl4 should be of the form "Impl4 ..." (with optional leading article)
65impl4.go:11:1: exported method Impl4.AddString should have comment or be unexported
66impl4.go:23:1: exported method Impl4.Lines should have comment or be unexported
67impl4.go:34:1: exported method Impl4.Letters should have comment or be unexported
68impl4.go:35:1: exported method Impl4.Characters should have comment or be unexported
69interface.go:3:6: exported type Counter should have comment or be unexported
70
71please follow the 'golint' suggestions in exercises/crypto-square
72example.go:20:1: exported function Encode should have comment or be unexported
73
74please follow the 'golint' suggestions in exercises/difference-of-squares
75example.go:3:1: exported function SquareOfSums should have comment or be unexported
76example.go:11:1: exported function SumOfSquares should have comment or be unexported
77example.go:18:1: exported function Difference should have comment or be unexported
78
79please follow the 'golint' suggestions in exercises/diffie-hellman
80example.go:12:1: exported function PrivateKey should have comment or be unexported
81example.go:17:1: exported function PublicKey should have comment or be unexported
82example.go:21:1: exported function NewPair should have comment or be unexported
83example.go:26:1: exported function SecretKey should have comment or be unexported
84
85please follow the 'golint' suggestions in exercises/error-handling
86common.go:5:6: exported type TransientError should have comment or be unexported
87common.go:13:6: exported type FrobError should have comment or be unexported
88common.go:22:6: exported type Resource should have comment or be unexported
89error_handling_test.go:64:10: if block ends with a return statement, so drop this else and outdent its block
90error_handling_test.go:85:10: if block ends with a return statement, so drop this else and outdent its block
91example.go:5:1: exported function Use should have comment or be unexported
92
93please follow the 'golint' suggestions in exercises/etl
94example.go:7:1: exported function Transform should have comment or be unexported
95
96please follow the 'golint' suggestions in exercises/food-chain
97example.go:19:1: exported function Verse should have comment or be unexported
98example.go:39:1: exported function Verses should have comment or be unexported
99example.go:51:1: exported function Song should have comment or be unexported
100
101please follow the 'golint' suggestions in exercises/grade-school
102example.go:5:6: exported type School should have comment or be unexported
103example.go:7:1: exported function New should have comment or be unexported
104example.go:11:1: exported method School.Add should have comment or be unexported
105example.go:15:1: exported method School.Grade should have comment or be unexported
106example.go:19:1: exported method School.Enrollment should have comment or be unexported
107example.go:37:6: exported type Grade should have comment or be unexported
108
109please follow the 'golint' suggestions in exercises/hamming
110example.go:7:1: exported function Distance should have comment or be unexported
111
112please follow the 'golint' suggestions in exercises/hello-world
113example.go:5:1: exported function HelloWorld should have comment or be unexported
114example.go:5:6: func name will be used as hello.HelloWorld by other packages, and that stutters; consider calling this World
115
116please follow the 'golint' suggestions in exercises/hexadecimal
117example.go:82:1: exported function HandleErrors should have comment or be unexported
118
119please follow the 'golint' suggestions in exercises/house
120example.go:3:1: exported function Embed should have comment or be unexported
121example.go:7:1: exported function Verse should have comment or be unexported
122example.go:18:1: exported function Song should have comment or be unexported
123
124please follow the 'golint' suggestions in exercises/kindergarten-garden
125example.go:9:6: exported type Garden should have comment or be unexported
126example.go:11:1: exported method Garden.Plants should have comment or be unexported
127example.go:16:1: exported function NewGarden should have comment or be unexported
128
129please follow the 'golint' suggestions in exercises/largest-series-product
130example.go:7:1: exported function LargestSeriesProduct should have comment or be unexported
131
132please follow the 'golint' suggestions in exercises/leap
133example.go:5:1: exported function IsLeapYear should have comment or be unexported
134
135please follow the 'golint' suggestions in exercises/ledger
136example.go:13:6: exported type Entry should have comment or be unexported
137example.go:19:1: exported function FormatLedger should have comment or be unexported
138
139please follow the 'golint' suggestions in exercises/luhn
140example.go:3:1: exported function Valid should have comment or be unexported
141example.go:37:1: exported function AddCheck should have comment or be unexported
142
143please follow the 'golint' suggestions in exercises/matrix
144example.go:12:6: exported type Matrix should have comment or be unexported
145example.go:14:1: exported function New should have comment or be unexported
146example.go:34:1: exported method Matrix.Set should have comment or be unexported
147example.go:46:1: exported method Matrix.Rows should have comment or be unexported
148example.go:54:1: exported method Matrix.Cols should have comment or be unexported
149
150please follow the 'golint' suggestions in exercises/meetup
151example.go:7:6: exported type WeekSchedule should have comment or be unexported
152example.go:10:2: exported const First should have comment (or a comment on this block) or be unexported
153example.go:18:1: exported function Day should have comment or be unexported
154
155please follow the 'golint' suggestions in exercises/minesweeper
156board.go:5:6: exported type Board should have comment or be unexported
157example.go:8:1: exported method Board.Count should have comment or be unexported
158
159please follow the 'golint' suggestions in exercises/nth-prime
160example.go:3:1: exported function Nth should have comment or be unexported
161
162please follow the 'golint' suggestions in exercises/nucleotide-count
163example.go:8:6: exported type Histogram should have comment or be unexported
164example.go:10:6: exported type DNA should have comment or be unexported
165example.go:12:1: exported method DNA.Count should have comment or be unexported
166example.go:21:1: exported method DNA.Counts should have comment or be unexported
167
168please follow the 'golint' suggestions in exercises/ocr-numbers
169example.go:37:1: exported function Recognize should have comment or be unexported
170
171please follow the 'golint' suggestions in exercises/octal
172example.go:7:1: exported function ParseOctal should have comment or be unexported
173
174please follow the 'golint' suggestions in exercises/paasio
175example.go:81:2: should replace c.ops += 1 with c.ops++
176
177please follow the 'golint' suggestions in exercises/palindrome-products
178example.go:18:6: exported type Product should have comment or be unexported
179example.go:23:1: exported function Products should have comment or be unexported
180
181please follow the 'golint' suggestions in exercises/parallel-letter-frequency
182example.go:3:1: exported function ConcurrentFrequency should have comment or be unexported
183frequency.go:3:6: exported type FreqMap should have comment or be unexported
184frequency.go:5:1: exported function Frequency should have comment or be unexported
185
186please follow the 'golint' suggestions in exercises/pascals-triangle
187example.go:3:1: exported function Triangle should have comment or be unexported
188
189please follow the 'golint' suggestions in exercises/pig-latin
190example.go:11:1: exported function PigLatin should have comment or be unexported
191
192please follow the 'golint' suggestions in exercises/poker
193example.go:13:2: exported const Jack should have comment (or a comment on this block) or be unexported
194example.go:63:9: if block ends with a return statement, so drop this else and outdent its block
195example.go:89:12: if block ends with a return statement, so drop this else and outdent its block
196example.go:102:1: exported function BestHand should have comment or be unexported
197
198please follow the 'golint' suggestions in exercises/pov
199example.go:10:6: exported type Graph should have comment or be unexported
200example.go:16:1: exported function New should have comment or be unexported
201example.go:29:1: exported method Graph.AddNode should have comment or be unexported
202example.go:33:1: exported method Graph.AddArc should have comment or be unexported
203example.go:43:1: exported method Graph.ChangeRoot should have comment or be unexported
204example.go:71:1: exported method Graph.ArcList should have comment or be unexported
205
206please follow the 'golint' suggestions in exercises/prime-factors
207example.go:5:1: exported function Factors should have comment or be unexported
208
209please follow the 'golint' suggestions in exercises/pythagorean-triplet
210example.go:3:6: exported type Triplet should have comment or be unexported
211example.go:9:1: exported function Range should have comment or be unexported
212example.go:22:1: exported function Sum should have comment or be unexported
213
214please follow the 'golint' suggestions in exercises/queen-attack
215example.go:7:1: exported function CanQueenAttack should have comment or be unexported
216
217please follow the 'golint' suggestions in exercises/raindrops
218example.go:7:1: exported function Convert should have comment or be unexported
219
220please follow the 'golint' suggestions in exercises/react
221example.go:41:1: exported function New should have comment or be unexported
222
223please follow the 'golint' suggestions in exercises/rna-transcription
224example.go:7:1: exported function ToRNA should have comment or be unexported
225
226please follow the 'golint' suggestions in exercises/robot-name
227example.go:10:6: exported type Robot should have comment or be unexported
228example.go:14:1: exported method Robot.Name should have comment or be unexported
229example.go:24:1: exported method Robot.Reset should have comment or be unexported
230
231please follow the 'golint' suggestions in exercises/robot-simulator
232defs.go:8:2: exported var Y should have its own declaration
233defs.go:9:2: exported var Facing should have comment or be unexported
234defs.go:12:6: exported type Dir should have comment or be unexported
235defs.go:18:6: exported type Command should have comment or be unexported
236defs.go:19:6: exported type RU should have comment or be unexported
237defs.go:20:6: exported type Pos should have comment or be unexported
238defs.go:21:6: exported type Rect should have comment or be unexported
239defs.go:22:6: exported type DirAt should have comment or be unexported
240defs.go:29:6: exported type Place should have comment or be unexported
241example.go:8:2: exported const N should have comment (or a comment on this block) or be unexported
242example.go:18:1: exported function Right should have comment or be unexported
243example.go:19:1: exported function Left should have comment or be unexported
244example.go:20:1: exported function Advance should have comment or be unexported
245example.go:30:6: exported type Action should have comment or be unexported
246example.go:32:1: exported function Robot should have comment or be unexported
247example.go:39:1: exported function Room should have comment or be unexported
248example.go:68:6: exported type Action3 should have comment or be unexported
249example.go:75:1: exported function Robot3 should have comment or be unexported
250example.go:82:1: exported function Room3 should have comment or be unexported
251
252please follow the 'golint' suggestions in exercises/roman-numerals
253example.go:15:1: exported function ToRomanNumeral should have comment or be unexported
254
255please follow the 'golint' suggestions in exercises/saddle-points
256example.go:3:6: exported type Pair should have comment or be unexported
257example.go:5:1: exported method Matrix.Saddle should have comment or be unexported
258matrix_example.go:12:6: exported type Matrix should have comment or be unexported
259matrix_example.go:14:1: exported function New should have comment or be unexported
260matrix_example.go:34:1: exported method Matrix.Set should have comment or be unexported
261matrix_example.go:46:1: exported method Matrix.Rows should have comment or be unexported
262matrix_example.go:54:1: exported method Matrix.Cols should have comment or be unexported
263
264please follow the 'golint' suggestions in exercises/say
265example.go:11:1: exported function Say should have comment or be unexported
266
267please follow the 'golint' suggestions in exercises/series
268example.go:3:1: exported function All should have comment or be unexported
269example.go:11:1: exported function UnsafeFirst should have comment or be unexported
270first_example.go:3:1: exported function First should have comment or be unexported
271
272please follow the 'golint' suggestions in exercises/sieve
273example.go:3:1: exported function Sieve should have comment or be unexported
274
275please follow the 'golint' suggestions in exercises/simple-cipher
276cipher.go:3:6: exported type Cipher should have comment or be unexported
277example.go:5:1: exported function NewCaesar should have comment or be unexported
278example.go:9:1: exported function NewShift should have comment or be unexported
279example.go:52:1: exported function NewVigenere should have comment or be unexported
280
281please follow the 'golint' suggestions in exercises/strain
282example.go:3:6: exported type Ints should have comment or be unexported
283example.go:5:1: exported method Ints.Keep should have comment or be unexported
284example.go:14:1: exported method Ints.Discard should have comment or be unexported
285example.go:23:6: exported type Strings should have comment or be unexported
286example.go:25:1: exported method Strings.Keep should have comment or be unexported
287example.go:34:6: exported type Lists should have comment or be unexported
288example.go:36:1: exported method Lists.Keep should have comment or be unexported
289
290please follow the 'golint' suggestions in exercises/sum-of-multiples
291example.go:3:1: exported function MultipleSummer should have comment or be unexported
292
293please follow the 'golint' suggestions in exercises/tournament
294example.go:34:6: exported type TeamResultSlice should have comment or be unexported
295example.go:133:1: exported function Tally should have comment or be unexported
296
297please follow the 'golint' suggestions in exercises/tree-building
298example.go:10:6: exported type Record should have comment or be unexported
299example.go:14:6: exported type Node should have comment or be unexported
300example.go:19:6: exported type NodeSlice should have comment or be unexported
301example.go:25:1: exported function Build should have comment or be unexported
302
303please follow the 'golint' suggestions in exercises/triangle
304example.go:5:6: exported type Kind should have comment or be unexported
305example.go:10:2: exported const Equ should have comment (or a comment on this block) or be unexported
306example.go:16:1: exported function KindFromSides should have comment or be unexported
307
308please follow the 'golint' suggestions in exercises/trinary
309example.go:10:1: exported function ParseTrinary should have comment or be unexported
310
311please follow the 'golint' suggestions in exercises/word-count
312example.go:10:6: exported type Frequency should have comment or be unexported
313example.go:12:1: exported function WordCount should have comment or be unexported
314
315please follow the 'golint' suggestions in exercises/word-search
316example.go:7:1: exported function Solve should have comment or be unexported
317
318please follow the 'golint' suggestions in exercises/wordy
319example.go:8:1: exported function Answer should have comment or be unexported