Preparing report...

Report for github.com/willshang/go-leetcode

A+    Excellent!    Found 878 issues across 6019 files

Tweet

gofmt99%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command


go_vet100%

go vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.

No problems detected. Good job!


gocyclo99%

Gocyclo calculates cyclomatic complexities of functions in Go source code. The cyclomatic complexity of a function is calculated according to the following rules: 1 is the base complexity of a function +1 for each 'if', 'for', 'case', '&&' or '||' Go Report Card warns on functions with cyclomatic complexity > 15.


golint86%

Golint is a linter for Go source code.

    • go-leetcode/source/offer2/剑指OfferII066.单词之和/3-哈希辅助.go
    • Line 9: warning: comment on exported type MapSum should be of the form "MapSum ..." (with optional leading article) (golint)
    • Line 14: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 20: warning: exported method MapSum.Insert should have comment or be unexported (golint)
    • Line 20: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 24: warning: exported method MapSum.Sum should have comment or be unexported (golint)
    • Line 24: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0601-0700/0676_implement-magic-dictionary/3-trie树.go
    • Line 7: warning: exported type MagicDictionary should have comment or be unexported (golint)
    • Line 12: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 19: warning: exported method MagicDictionary.BuildDict should have comment or be unexported (golint)
    • Line 19: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 37: warning: exported method MagicDictionary.Search should have comment or be unexported (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 60: warning: exported method MagicDictionary.SearchWord should have comment or be unexported (golint)
    • Line 60: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/lcci/面试题03.03.堆盘子/1-栈-二维.go
    • Line 7: warning: comment on exported type StackOfPlates should be of the form "StackOfPlates ..." (with optional leading article) (golint)
    • Line 13: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 20: warning: exported method StackOfPlates.Push should have comment or be unexported (golint)
    • Line 20: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 41: warning: exported method StackOfPlates.Pop should have comment or be unexported (golint)
    • Line 41: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 55: warning: exported method StackOfPlates.PopAt should have comment or be unexported (golint)
    • Line 55: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/lcci/面试题03.06.动物收容所/2-内置list.go
    • Line 9: warning: comment on exported type AnimalShelf should be of the form "AnimalShelf ..." (with optional leading article) (golint)
    • Line 14: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 20: warning: exported method AnimalShelf.Enqueue should have comment or be unexported (golint)
    • Line 20: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 24: warning: exported method AnimalShelf.DequeueAny should have comment or be unexported (golint)
    • Line 24: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 35: warning: exported method AnimalShelf.DequeueDog should have comment or be unexported (golint)
    • Line 35: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 42: warning: exported method AnimalShelf.DequeueCat should have comment or be unexported (golint)
    • Line 42: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/lcci/面试题03.04.化栈为队/3-使用2个切片实现.go
    • Line 9: warning: don't use underscores in Go names; var param_2 should be param2 (golint)
    • Line 10: warning: don't use underscores in Go names; var param_3 should be param3 (golint)
    • Line 11: warning: don't use underscores in Go names; var param_4 should be param4 (golint)
    • Line 17: warning: exported type MyQueue should have comment or be unexported (golint)
    • Line 22: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 26: warning: exported method MyQueue.Push should have comment or be unexported (golint)
    • Line 30: warning: exported method MyQueue.Pop should have comment or be unexported (golint)
    • Line 37: warning: exported method MyQueue.Peek should have comment or be unexported (golint)
    • Line 50: warning: exported method MyQueue.Empty should have comment or be unexported (golint)
    • go-leetcode/source/0401-0500/0460_lfu-cache/1-map+双向链表.go
    • Line 26: warning: exported type Node should have comment or be unexported (golint)
    • Line 34: warning: exported type LFUCache should have comment or be unexported (golint)
    • Line 41: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 50: warning: exported method LFUCache.Get should have comment or be unexported (golint)
    • Line 50: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 59: warning: exported method LFUCache.Put should have comment or be unexported (golint)
    • Line 59: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 87: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 103: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 110: warning: exported type DoubleList should have comment or be unexported (golint)
    • Line 115: warning: exported function NewDoubleList should have comment or be unexported (golint)
    • Line 125: warning: comment on exported method DoubleList.Push should be of the form "Push ..." (golint)
    • Line 126: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 134: warning: comment on exported method DoubleList.Remove should be of the form "Remove ..." (golint)
    • Line 135: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0501-0600/0502_ipo/1-堆.go
    • Line 42: warning: exported type Node should have comment or be unexported (golint)
    • Line 47: warning: exported type ProfitNode should have comment or be unexported (golint)
    • Line 62: warning: exported method ProfitNode.Push should have comment or be unexported (golint)
    • Line 66: warning: exported method ProfitNode.Pop should have comment or be unexported (golint)
    • Line 72: warning: exported type CapitalNode should have comment or be unexported (golint)
    • Line 87: warning: exported method CapitalNode.Push should have comment or be unexported (golint)
    • Line 91: warning: exported method CapitalNode.Pop should have comment or be unexported (golint)
    • go-leetcode/source/0201-0300/0225_implement-stack-using-queues/2-使用1个list实现.go
    • Line 12: warning: don't use underscores in Go names; var param_2 should be param2 (golint)
    • Line 13: warning: don't use underscores in Go names; var param_3 should be param3 (golint)
    • Line 14: warning: don't use underscores in Go names; var param_4 should be param4 (golint)
    • Line 21: warning: comment on exported type MyStack should be of the form "MyStack ..." (with optional leading article) (golint)
    • Line 26: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 32: warning: exported method MyStack.Push should have comment or be unexported (golint)
    • Line 36: warning: exported method MyStack.Pop should have comment or be unexported (golint)
    • Line 43: warning: exported method MyStack.Top should have comment or be unexported (golint)
    • Line 50: warning: exported method MyStack.Empty should have comment or be unexported (golint)
    • go-leetcode/source/0801-0900/0855_exam-room/1.go
    • Line 7: warning: exported type ExamRoom should have comment or be unexported (golint)
    • Line 10: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 14: warning: exported method ExamRoom.Seat should have comment or be unexported (golint)
    • Line 14: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 18: warning: exported method ExamRoom.Leave should have comment or be unexported (golint)
    • Line 18: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/1601-1700/1603_design-parking-system/2-数组.go
    • Line 7: warning: comment on exported type ParkingSystem should be of the form "ParkingSystem ..." (with optional leading article) (golint)
    • Line 12: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 18: warning: exported method ParkingSystem.AddCar should have comment or be unexported (golint)
    • Line 18: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0301-0400/0307_range-sum-query-mutable/3-树状数组.go
    • Line 10: warning: comment on exported type NumArray should be of the form "NumArray ..." (with optional leading article) (golint)
    • Line 17: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 32: warning: exported method NumArray.Update should have comment or be unexported (golint)
    • Line 32: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 40: warning: exported method NumArray.SumRange should have comment or be unexported (golint)
    • Line 40: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 44: warning: exported method NumArray.LowBit should have comment or be unexported (golint)
    • Line 44: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 48: warning: comment on exported method NumArray.UpData should be of the form "UpData ..." (golint)
    • Line 49: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 56: warning: comment on exported method NumArray.GetSum should be of the form "GetSum ..." (golint)
    • Line 57: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/1401-1500/1476_subrectangle-queries/1-暴力法.go
    • Line 7: warning: comment on exported type SubrectangleQueries should be of the form "SubrectangleQueries ..." (with optional leading article) (golint)
    • Line 12: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 16: warning: exported method SubrectangleQueries.UpdateSubrectangle should have comment or be unexported (golint)
    • Line 16: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 24: warning: exported method SubrectangleQueries.GetValue should have comment or be unexported (golint)
    • Line 24: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0701-0800/0732_my-calendar-iii/2-线段树.go
    • Line 10: warning: exported type MyCalendarThree should have comment or be unexported (golint)
    • Line 14: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 21: warning: exported method MyCalendarThree.Book should have comment or be unexported (golint)
    • Line 21: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 25: warning: exported type Node should have comment or be unexported (golint)
    • Line 38: warning: exported method Node.Left should have comment or be unexported (golint)
    • Line 48: warning: exported method Node.Right should have comment or be unexported (golint)
    • Line 58: warning: exported method Node.Insert should have comment or be unexported (golint)
    • go-leetcode/source/1801-1900/1882_process-tasks-using-servers/1-双堆.go
    • Line 57: warning: exported type Node should have comment or be unexported (golint)
    • Line 63: warning: comment on exported type RunHeap should be of the form "RunHeap ..." (with optional leading article) (golint)
    • Line 79: warning: exported method RunHeap.Push should have comment or be unexported (golint)
    • Line 83: warning: exported method RunHeap.Pop should have comment or be unexported (golint)
    • Line 89: warning: comment on exported type WaitHeap should be of the form "WaitHeap ..." (with optional leading article) (golint)
    • Line 108: warning: exported method WaitHeap.Push should have comment or be unexported (golint)
    • Line 112: warning: exported method WaitHeap.Pop should have comment or be unexported (golint)
    • go-leetcode/source/0601-0700/0622_design-circular-queue/1-切片.go
    • Line 7: warning: comment on exported type MyCircularQueue should be of the form "MyCircularQueue ..." (with optional leading article) (golint)
    • Line 13: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 20: warning: exported method MyCircularQueue.EnQueue should have comment or be unexported (golint)
    • Line 20: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 28: warning: exported method MyCircularQueue.DeQueue should have comment or be unexported (golint)
    • Line 28: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 36: warning: exported method MyCircularQueue.Front should have comment or be unexported (golint)
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 43: warning: exported method MyCircularQueue.Rear should have comment or be unexported (golint)
    • Line 43: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 50: warning: exported method MyCircularQueue.IsEmpty should have comment or be unexported (golint)
    • Line 50: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 54: warning: exported method MyCircularQueue.IsFull should have comment or be unexported (golint)
    • Line 54: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0201-0300/0297_serialize-and-deserialize-binary-tree/2-迭代.go
    • Line 12: warning: exported type TreeNode should have comment or be unexported (golint)
    • Line 18: warning: exported type Codec should have comment or be unexported (golint)
    • Line 22: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 27: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 48: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/1601-1700/1670_design-front-middle-back-queue/1-数组.go
    • Line 7: warning: comment on exported type FrontMiddleBackQueue should be of the form "FrontMiddleBackQueue ..." (with optional leading article) (golint)
    • Line 12: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 16: warning: exported method FrontMiddleBackQueue.PushFront should have comment or be unexported (golint)
    • Line 16: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 20: warning: exported method FrontMiddleBackQueue.PushMiddle should have comment or be unexported (golint)
    • Line 20: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 25: warning: exported method FrontMiddleBackQueue.PushBack should have comment or be unexported (golint)
    • Line 25: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 29: warning: exported method FrontMiddleBackQueue.PopFront should have comment or be unexported (golint)
    • Line 29: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 39: warning: exported method FrontMiddleBackQueue.PopMiddle should have comment or be unexported (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 54: warning: exported method FrontMiddleBackQueue.PopBack should have comment or be unexported (golint)
    • Line 54: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0601-0700/0622_design-circular-queue/2-循环队列.go
    • Line 7: warning: exported type MyCircularQueue should have comment or be unexported (golint)
    • Line 14: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 23: warning: exported method MyCircularQueue.EnQueue should have comment or be unexported (golint)
    • Line 23: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 36: warning: exported method MyCircularQueue.DeQueue should have comment or be unexported (golint)
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 48: warning: exported method MyCircularQueue.Front should have comment or be unexported (golint)
    • Line 48: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 55: warning: exported method MyCircularQueue.Rear should have comment or be unexported (golint)
    • Line 55: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 66: warning: exported method MyCircularQueue.IsEmpty should have comment or be unexported (golint)
    • Line 66: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 70: warning: exported method MyCircularQueue.IsFull should have comment or be unexported (golint)
    • Line 70: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/algorithm/图-Prime-堆优化.go
    • Line 12: warning: comment on exported function Prime should be of the form "Prime ..." (golint)
    • Line 43: warning: exported type IntHeap should have comment or be unexported (golint)
    • Line 58: warning: exported method IntHeap.Push should have comment or be unexported (golint)
    • Line 62: warning: exported method IntHeap.Pop should have comment or be unexported (golint)
    • go-leetcode/source/lcp/LCP33.蓄水/2-堆.go
    • Line 57: warning: exported type Node should have comment or be unexported (golint)
    • Line 63: warning: exported type IntHeap should have comment or be unexported (golint)
    • Line 78: warning: exported method IntHeap.Push should have comment or be unexported (golint)
    • Line 82: warning: exported method IntHeap.Pop should have comment or be unexported (golint)
    • go-leetcode/source/1301-1400/1396_design-underground-system/1-双map.go
    • Line 7: warning: comment on exported type Node should be of the form "Node ..." (with optional leading article) (golint)
    • Line 13: warning: exported type SumInfo should have comment or be unexported (golint)
    • Line 18: warning: exported type UndergroundSystem should have comment or be unexported (golint)
    • Line 23: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 30: warning: exported method UndergroundSystem.CheckIn should have comment or be unexported (golint)
    • Line 30: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 37: warning: exported method UndergroundSystem.CheckOut should have comment or be unexported (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 45: warning: exported method UndergroundSystem.GetAverageTime should have comment or be unexported (golint)
    • Line 45: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0901-1000/0911_online-election/1-二分查找.go
    • Line 7: warning: exported type TopVotedCandidate should have comment or be unexported (golint)
    • Line 12: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 33: warning: exported method TopVotedCandidate.Q should have comment or be unexported (golint)
    • Line 33: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/offer2/剑指OfferII058.日程表/1-暴力法.go
    • Line 7: warning: comment on exported type MyCalendar should be of the form "MyCalendar ..." (with optional leading article) (golint)
    • Line 12: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 16: warning: exported method MyCalendar.Book should have comment or be unexported (golint)
    • Line 16: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0701-0800/0706_design-hashmap/2-数组实现.go
    • Line 7: warning: exported type MyHashMap should have comment or be unexported (golint)
    • Line 12: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 19: warning: exported method MyHashMap.Put should have comment or be unexported (golint)
    • Line 30: warning: exported method MyHashMap.Get should have comment or be unexported (golint)
    • Line 39: warning: exported method MyHashMap.Remove should have comment or be unexported (golint)
    • go-leetcode/source/0101-0200/0155_min-stack/2-使用双栈.go
    • Line 9: warning: don't use underscores in Go names; var param_3 should be param3 (golint)
    • Line 10: warning: don't use underscores in Go names; var param_4 should be param4 (golint)
    • Line 15: warning: exported type MinStack should have comment or be unexported (golint)
    • Line 20: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 24: warning: exported method MinStack.Push should have comment or be unexported (golint)
    • Line 24: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 31: warning: exported method MinStack.Pop should have comment or be unexported (golint)
    • Line 31: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 39: warning: exported method MinStack.Top should have comment or be unexported (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 46: warning: exported method MinStack.GetMin should have comment or be unexported (golint)
    • Line 46: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/lcci/面试题10.10.数字流的秩/2-暴力法.go
    • Line 3: warning: comment on exported type StreamRank should be of the form "StreamRank ..." (with optional leading article) (golint)
    • Line 8: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 12: warning: exported method StreamRank.Track should have comment or be unexported (golint)
    • Line 12: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 16: warning: exported method StreamRank.GetRankOfNumber should have comment or be unexported (golint)
    • Line 16: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/1801-1900/1801_number-of-orders-in-the-backlog/1-双堆.go
    • Line 75: warning: exported type Node should have comment or be unexported (golint)
    • Line 80: warning: exported type SellHeap should have comment or be unexported (golint)
    • Line 95: warning: exported method SellHeap.Push should have comment or be unexported (golint)
    • Line 99: warning: exported method SellHeap.Pop should have comment or be unexported (golint)
    • Line 105: warning: exported type BuyHeap should have comment or be unexported (golint)
    • Line 120: warning: exported method BuyHeap.Push should have comment or be unexported (golint)
    • Line 124: warning: exported method BuyHeap.Pop should have comment or be unexported (golint)
    • go-leetcode/source/1801-1900/1865_finding-pairs-with-a-certain-sum/1-哈希辅助.go
    • Line 7: warning: comment on exported type FindSumPairs should be of the form "FindSumPairs ..." (with optional leading article) (golint)
    • Line 13: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 25: warning: exported method FindSumPairs.Add should have comment or be unexported (golint)
    • Line 25: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 31: warning: exported method FindSumPairs.Count should have comment or be unexported (golint)
    • Line 31: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/lcci/面试题03.02.栈的最小值/2-双栈.go
    • Line 9: warning: don't use underscores in Go names; var param_3 should be param3 (golint)
    • Line 10: warning: don't use underscores in Go names; var param_4 should be param4 (golint)
    • Line 15: warning: exported type MinStack should have comment or be unexported (golint)
    • Line 20: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 24: warning: exported method MinStack.Push should have comment or be unexported (golint)
    • Line 24: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 31: warning: exported method MinStack.Pop should have comment or be unexported (golint)
    • Line 31: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 39: warning: exported method MinStack.Top should have comment or be unexported (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 46: warning: exported method MinStack.GetMin should have comment or be unexported (golint)
    • Line 46: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/offer/面试题41_数据流中的中位数/1-大小根堆-内置heap接口.go
    • Line 9: warning: comment on exported type MinHeap should be of the form "MinHeap ..." (with optional leading article) (golint)
    • Line 23: warning: exported method MinHeap.Push should have comment or be unexported (golint)
    • Line 27: warning: exported method MinHeap.Pop should have comment or be unexported (golint)
    • Line 33: warning: exported type MaxHeap should have comment or be unexported (golint)
    • Line 47: warning: exported method MaxHeap.Push should have comment or be unexported (golint)
    • Line 51: warning: exported method MaxHeap.Pop should have comment or be unexported (golint)
    • Line 57: warning: exported type MedianFinder should have comment or be unexported (golint)
    • Line 62: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 71: warning: exported method MedianFinder.AddNum should have comment or be unexported (golint)
    • Line 71: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 81: warning: exported method MedianFinder.FindMedian should have comment or be unexported (golint)
    • Line 81: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 84: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • go-leetcode/source/lcci/面试题03.04.化栈为队/2-使用2个栈实现.go
    • Line 9: warning: don't use underscores in Go names; var param_2 should be param2 (golint)
    • Line 10: warning: don't use underscores in Go names; var param_3 should be param3 (golint)
    • Line 11: warning: don't use underscores in Go names; var param_4 should be param4 (golint)
    • Line 17: warning: comment on exported type MyQueue should be of the form "MyQueue ..." (with optional leading article) (golint)
    • Line 26: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 33: warning: exported method MyQueue.Push should have comment or be unexported (golint)
    • Line 37: warning: exported method MyQueue.Pop should have comment or be unexported (golint)
    • Line 46: warning: exported method MyQueue.Peek should have comment or be unexported (golint)
    • Line 52: warning: exported method MyQueue.Empty should have comment or be unexported (golint)
    • Line 56: warning: exported type Stack should have comment or be unexported (golint)
    • Line 60: warning: exported function NewStack should have comment or be unexported (golint)
    • Line 66: warning: exported method Stack.Push should have comment or be unexported (golint)
    • Line 70: warning: exported method Stack.Pop should have comment or be unexported (golint)
    • Line 76: warning: exported method Stack.Len should have comment or be unexported (golint)
    • Line 80: warning: exported method Stack.IsEmpty should have comment or be unexported (golint)
    • go-leetcode/source/0601-0700/0648_replace-words/2-字典树.go
    • Line 26: warning: exported type Trie should have comment or be unexported (golint)
    • Line 31: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 38: warning: comment on exported method Trie.Insert should be of the form "Insert ..." (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 54: warning: comment on exported method Trie.Search should be of the form "Search ..." (golint)
    • Line 55: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/offer/面试题30_包含min函数的栈/1-数组模拟栈.go
    • Line 9: warning: don't use underscores in Go names; var param_3 should be param3 (golint)
    • Line 10: warning: don't use underscores in Go names; var param_4 should be param4 (golint)
    • Line 19: warning: exported type MinStack should have comment or be unexported (golint)
    • Line 23: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 27: warning: exported method MinStack.Push should have comment or be unexported (golint)
    • Line 38: warning: exported method MinStack.Pop should have comment or be unexported (golint)
    • Line 42: warning: exported method MinStack.Top should have comment or be unexported (golint)
    • Line 49: warning: exported method MinStack.Min should have comment or be unexported (golint)
    • go-leetcode/source/1201-1300/1261_find-elements-in-a-contaminated-binary-tree/1-哈希辅助.go
    • Line 7: warning: exported type TreeNode should have comment or be unexported (golint)
    • Line 13: warning: comment on exported type FindElements should be of the form "FindElements ..." (with optional leading article) (golint)
    • Line 18: warning: exported type Node should have comment or be unexported (golint)
    • Line 23: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 54: warning: exported method FindElements.Find should have comment or be unexported (golint)
    • Line 54: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0301-0400/0304_range-sum-query-2d-immutable/1-前缀和.go
    • Line 7: warning: comment on exported type NumMatrix should be of the form "NumMatrix ..." (with optional leading article) (golint)
    • Line 12: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 33: warning: exported method NumMatrix.SumRegion should have comment or be unexported (golint)
    • Line 33: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0301-0400/0355_design-twitter/2-堆.go
    • Line 19: warning: exported type Twitter should have comment or be unexported (golint)
    • Line 25: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 33: warning: exported method Twitter.PostTweet should have comment or be unexported (golint)
    • Line 33: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 38: warning: exported method Twitter.GetNewsFeed should have comment or be unexported (golint)
    • Line 38: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 74: warning: exported method Twitter.Follow should have comment or be unexported (golint)
    • Line 74: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 81: warning: exported method Twitter.Unfollow should have comment or be unexported (golint)
    • Line 81: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 87: warning: exported type IntHeap should have comment or be unexported (golint)
    • Line 92: warning: exported method IntHeap.Push should have comment or be unexported (golint)
    • Line 93: warning: exported method IntHeap.Pop should have comment or be unexported (golint)
    • go-leetcode/source/0101-0200/0146_lru-cache/1-双向链表.go
    • Line 11: warning: comment on exported type Node should be of the form "Node ..." (with optional leading article) (golint)
    • Line 19: warning: exported type LRUCache should have comment or be unexported (golint)
    • Line 26: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 38: warning: exported method LRUCache.Get should have comment or be unexported (golint)
    • Line 38: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 47: warning: exported method LRUCache.Put should have comment or be unexported (golint)
    • Line 47: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 67: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 73: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0201-0300/0211_design-add-and-search-words-data-structure/1-trie树.go
    • Line 7: warning: comment on exported type Trie should be of the form "Trie ..." (with optional leading article) (golint)
    • Line 13: warning: exported method Trie.Insert should have comment or be unexported (golint)
    • Line 13: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 28: warning: exported method Trie.Search should have comment or be unexported (golint)
    • Line 28: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 50: warning: exported type WordDictionary should have comment or be unexported (golint)
    • Line 54: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 58: warning: exported method WordDictionary.AddWord should have comment or be unexported (golint)
    • Line 58: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 62: warning: exported method WordDictionary.Search should have comment or be unexported (golint)
    • Line 62: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0601-0700/0641_design-circular-deque/2-双向链表.go
    • Line 7: warning: exported type MyCircularDeque should have comment or be unexported (golint)
    • Line 14: warning: exported type Node should have comment or be unexported (golint)
    • Line 20: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 26: warning: exported method MyCircularDeque.InsertFront should have comment or be unexported (golint)
    • Line 26: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 45: warning: exported method MyCircularDeque.InsertLast should have comment or be unexported (golint)
    • Line 45: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 64: warning: exported method MyCircularDeque.DeleteFront should have comment or be unexported (golint)
    • Line 64: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 78: warning: exported method MyCircularDeque.DeleteLast should have comment or be unexported (golint)
    • Line 78: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 92: warning: exported method MyCircularDeque.GetFront should have comment or be unexported (golint)
    • Line 92: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 99: warning: exported method MyCircularDeque.GetRear should have comment or be unexported (golint)
    • Line 99: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 106: warning: exported method MyCircularDeque.IsEmpty should have comment or be unexported (golint)
    • Line 106: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 110: warning: exported method MyCircularDeque.IsFull should have comment or be unexported (golint)
    • Line 110: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/offer/面试题59-II_队列的最大值/2-内置List.go
    • Line 9: warning: exported type MaxQueue should have comment or be unexported (golint)
    • Line 14: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 21: warning: exported method MaxQueue.Max_value should have comment or be unexported (golint)
    • Line 21: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 21: warning: don't use underscores in Go names; method Max_value should be MaxValue (golint)
    • Line 28: warning: exported method MaxQueue.Push_back should have comment or be unexported (golint)
    • Line 28: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 28: warning: don't use underscores in Go names; method Push_back should be PushBack (golint)
    • Line 36: warning: exported method MaxQueue.Pop_front should have comment or be unexported (golint)
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 36: warning: don't use underscores in Go names; method Pop_front should be PopFront (golint)
    • go-leetcode/source/1501-1600/1600_throne-inheritance/2-递归.go
    • Line 7: warning: comment on exported type ThroneInheritance should be of the form "ThroneInheritance ..." (with optional leading article) (golint)
    • Line 14: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 22: warning: exported method ThroneInheritance.Birth should have comment or be unexported (golint)
    • Line 22: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 26: warning: exported method ThroneInheritance.Death should have comment or be unexported (golint)
    • Line 26: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 30: warning: exported method ThroneInheritance.GetInheritanceOrder should have comment or be unexported (golint)
    • Line 30: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/1901-2000/1942_the-number-of-the-smallest-unoccupied-chair/1-双堆.go
    • Line 12: warning: exported type Node should have comment or be unexported (golint)
    • Line 55: warning: exported type WaitHeap should have comment or be unexported (golint)
    • Line 70: warning: exported method WaitHeap.Push should have comment or be unexported (golint)
    • Line 74: warning: exported method WaitHeap.Pop should have comment or be unexported (golint)
    • Line 80: warning: exported type RunNode should have comment or be unexported (golint)
    • Line 85: warning: exported type RunHeap should have comment or be unexported (golint)
    • Line 100: warning: exported method RunHeap.Push should have comment or be unexported (golint)
    • Line 104: warning: exported method RunHeap.Pop should have comment or be unexported (golint)
    • go-leetcode/source/lcci/面试题03.04.化栈为队/1-使用切片.go
    • Line 9: warning: don't use underscores in Go names; var param_2 should be param2 (golint)
    • Line 10: warning: don't use underscores in Go names; var param_3 should be param3 (golint)
    • Line 11: warning: don't use underscores in Go names; var param_4 should be param4 (golint)
    • Line 17: warning: exported type MyQueue should have comment or be unexported (golint)
    • Line 21: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 25: warning: exported method MyQueue.Push should have comment or be unexported (golint)
    • Line 29: warning: exported method MyQueue.Pop should have comment or be unexported (golint)
    • Line 38: warning: exported method MyQueue.Peek should have comment or be unexported (golint)
    • Line 45: warning: exported method MyQueue.Empty should have comment or be unexported (golint)
    • go-leetcode/source/0301-0400/0384_shuffle-an-array/1-内置函数.go
    • Line 9: warning: comment on exported type Solution should be of the form "Solution ..." (with optional leading article) (golint)
    • Line 14: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 18: warning: exported method Solution.Reset should have comment or be unexported (golint)
    • Line 18: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 22: warning: exported method Solution.Shuffle should have comment or be unexported (golint)
    • Line 22: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0201-0300/0284_peeking-iterator/2-缓存.go
    • Line 7: warning: exported type Iterator should have comment or be unexported (golint)
    • Line 10: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 14: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 18: warning: comment on exported type PeekingIterator should be of the form "PeekingIterator ..." (with optional leading article) (golint)
    • Line 24: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 31: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 35: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 44: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0501-0600/0535_encode-and-decode-tinyurl/1-哈希辅助.go
    • Line 9: warning: comment on exported type Codec should be of the form "Codec ..." (with optional leading article) (golint)
    • Line 15: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 23: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 31: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/lcci/面试题03.05.栈排序/1-双栈.go
    • Line 10: warning: comment on exported type SortedStack should be of the form "SortedStack ..." (with optional leading article) (golint)
    • Line 16: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 20: warning: exported method SortedStack.Push should have comment or be unexported (golint)
    • Line 20: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 32: warning: exported method SortedStack.Pop should have comment or be unexported (golint)
    • Line 32: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 39: warning: exported method SortedStack.Peek should have comment or be unexported (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 46: warning: exported method SortedStack.IsEmpty should have comment or be unexported (golint)
    • Line 46: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0301-0400/0384_shuffle-an-array/2-内置函数.go
    • Line 9: warning: exported type Solution should have comment or be unexported (golint)
    • Line 13: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 17: warning: exported method Solution.Reset should have comment or be unexported (golint)
    • Line 17: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 21: warning: exported method Solution.Shuffle should have comment or be unexported (golint)
    • Line 21: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/1001-1100/1023_camelcase-matching/2-trie树.go
    • Line 19: warning: exported type Trie should have comment or be unexported (golint)
    • Line 24: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 31: warning: comment on exported method Trie.Insert should be of the form "Insert ..." (golint)
    • Line 32: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 44: warning: comment on exported method Trie.Match should be of the form "Match ..." (golint)
    • Line 45: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0101-0200/0173_binary-search-tree-iterator/1-数组辅助.go
    • Line 7: warning: exported type TreeNode should have comment or be unexported (golint)
    • Line 13: warning: exported type BSTIterator should have comment or be unexported (golint)
    • Line 18: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 36: warning: exported method BSTIterator.Next should have comment or be unexported (golint)
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 45: warning: exported method BSTIterator.HasNext should have comment or be unexported (golint)
    • Line 45: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0601-0700/0641_design-circular-deque/1-循环队列.go
    • Line 7: warning: exported type MyCircularDeque should have comment or be unexported (golint)
    • Line 14: warning: comment on exported function Constructor should be of the form "Constructor ..." (golint)
    • Line 24: warning: exported method MyCircularDeque.InsertFront should have comment or be unexported (golint)
    • Line 24: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 33: warning: exported method MyCircularDeque.InsertLast should have comment or be unexported (golint)
    • Line 33: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 42: warning: exported method MyCircularDeque.DeleteFront should have comment or be unexported (golint)
    • Line 42: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 50: warning: exported method MyCircularDeque.DeleteLast should have comment or be unexported (golint)
    • Line 50: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 58: warning: exported method MyCircularDeque.GetFront should have comment or be unexported (golint)
    • Line 58: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 65: warning: exported method MyCircularDeque.GetRear should have comment or be unexported (golint)
    • Line 65: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 73: warning: exported method MyCircularDeque.IsEmpty should have comment or be unexported (golint)
    • Line 73: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 77: warning: exported method MyCircularDeque.IsFull should have comment or be unexported (golint)
    • Line 77: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/algorithm/图-Dijkstra-堆优化.go
    • Line 12: warning: comment on exported function Dijkstra should be of the form "Dijkstra ..." (golint)
    • Line 49: warning: exported type IntHeap should have comment or be unexported (golint)
    • Line 64: warning: exported method IntHeap.Push should have comment or be unexported (golint)
    • Line 68: warning: exported method IntHeap.Pop should have comment or be unexported (golint)
    • go-leetcode/source/1101-1200/1146_snapshot-array/1-数组辅助.go
    • Line 19: warning: exported type SnapshotArray should have comment or be unexported (golint)
    • Line 24: warning: exported type Snap should have comment or be unexported (golint)
    • Line 29: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 36: warning: exported method SnapshotArray.Set should have comment or be unexported (golint)
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 44: warning: exported method SnapshotArray.Snap should have comment or be unexported (golint)
    • Line 44: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 50: warning: exported method SnapshotArray.Get should have comment or be unexported (golint)
    • Line 50: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 50: warning: don't use underscores in Go names; method parameter snap_id should be snapID (golint)
    • go-leetcode/source/0301-0400/0355_design-twitter/1-暴力法.go
    • Line 7: warning: comment on exported type Twitter should be of the form "Twitter ..." (with optional leading article) (golint)
    • Line 13: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 20: warning: exported method Twitter.PostTweet should have comment or be unexported (golint)
    • Line 20: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 24: warning: exported method Twitter.GetNewsFeed should have comment or be unexported (golint)
    • Line 24: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 38: warning: exported method Twitter.Follow should have comment or be unexported (golint)
    • Line 38: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 45: warning: exported method Twitter.Unfollow should have comment or be unexported (golint)
    • Line 45: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0601-0700/0676_implement-magic-dictionary/1-哈希辅助.go
    • Line 7: warning: exported type MagicDictionary should have comment or be unexported (golint)
    • Line 11: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 15: warning: exported method MagicDictionary.BuildDict should have comment or be unexported (golint)
    • Line 15: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 21: warning: exported method MagicDictionary.Search should have comment or be unexported (golint)
    • Line 21: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/1701-1800/1797_design-authentication-manager/1-哈希辅助.go
    • Line 7: warning: exported type AuthenticationManager should have comment or be unexported (golint)
    • Line 12: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 19: warning: exported method AuthenticationManager.Generate should have comment or be unexported (golint)
    • Line 19: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 23: warning: exported method AuthenticationManager.Renew should have comment or be unexported (golint)
    • Line 23: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 33: warning: exported method AuthenticationManager.CountUnexpiredTokens should have comment or be unexported (golint)
    • Line 33: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0501-0600/0519_random-flip-matrix/1-哈希辅助.go
    • Line 9: warning: comment on exported type Solution should be of the form "Solution ..." (with optional leading article) (golint)
    • Line 17: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 17: warning: don't use underscores in Go names; func parameter n_rows should be nRows (golint)
    • Line 17: warning: don't use underscores in Go names; func parameter n_cols should be nCols (golint)
    • Line 26: warning: exported method Solution.Flip should have comment or be unexported (golint)
    • Line 26: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 42: warning: exported method Solution.Reset should have comment or be unexported (golint)
    • Line 42: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0701-0800/0705_design-hashset/2-数组实现.go
    • Line 15: warning: exported type MyHashSet should have comment or be unexported (golint)
    • Line 19: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 25: warning: exported method MyHashSet.Add should have comment or be unexported (golint)
    • Line 34: warning: exported method MyHashSet.Remove should have comment or be unexported (golint)
    • Line 42: warning: exported method MyHashSet.Contains should have comment or be unexported (golint)
    • go-leetcode/source/lcci/面试题16.02.单词频率/2-trie树.go
    • Line 7: warning: exported type WordsFrequency should have comment or be unexported (golint)
    • Line 12: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 20: warning: exported method WordsFrequency.Get should have comment or be unexported (golint)
    • Line 20: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 32: warning: exported method WordsFrequency.Insert should have comment or be unexported (golint)
    • Line 32: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/offer/面试题30_包含min函数的栈/2-双栈.go
    • Line 9: warning: don't use underscores in Go names; var param_3 should be param3 (golint)
    • Line 10: warning: don't use underscores in Go names; var param_4 should be param4 (golint)
    • Line 15: warning: comment on exported type MinStack should be of the form "MinStack ..." (with optional leading article) (golint)
    • Line 21: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 25: warning: exported method MinStack.Push should have comment or be unexported (golint)
    • Line 32: warning: exported method MinStack.Pop should have comment or be unexported (golint)
    • Line 40: warning: exported method MinStack.Top should have comment or be unexported (golint)
    • Line 47: warning: exported method MinStack.Min should have comment or be unexported (golint)
    • go-leetcode/source/offer2/剑指OfferII064.神奇的字典/3-trie树.go
    • Line 7: warning: exported type MagicDictionary should have comment or be unexported (golint)
    • Line 12: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 19: warning: exported method MagicDictionary.BuildDict should have comment or be unexported (golint)
    • Line 19: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 37: warning: exported method MagicDictionary.Search should have comment or be unexported (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 60: warning: exported method MagicDictionary.SearchWord should have comment or be unexported (golint)
    • Line 60: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0201-0300/0208_implement-trie-prefix-tree/2-trie树.go
    • Line 7: warning: exported type Trie should have comment or be unexported (golint)
    • Line 12: warning: comment on exported function Constructor should be of the form "Constructor ..." (golint)
    • Line 20: warning: comment on exported method Trie.Insert should be of the form "Insert ..." (golint)
    • Line 21: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 36: warning: comment on exported method Trie.Search should be of the form "Search ..." (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 51: warning: comment on exported method Trie.StartsWith should be of the form "StartsWith ..." (golint)
    • Line 52: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0701-0800/0731_my-calendar-ii/1-双数组.go
    • Line 7: warning: comment on exported type MyCalendarTwo should be of the form "MyCalendarTwo ..." (with optional leading article) (golint)
    • Line 13: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 17: warning: exported method MyCalendarTwo.Book should have comment or be unexported (golint)
    • Line 17: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/lcci/面试题03.02.栈的最小值/1-结构体.go
    • Line 9: warning: don't use underscores in Go names; var param_3 should be param3 (golint)
    • Line 10: warning: don't use underscores in Go names; var param_4 should be param4 (golint)
    • Line 20: warning: exported type MinStack should have comment or be unexported (golint)
    • Line 24: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 28: warning: exported method MinStack.Push should have comment or be unexported (golint)
    • Line 28: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 39: warning: exported method MinStack.Pop should have comment or be unexported (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 43: warning: exported method MinStack.Top should have comment or be unexported (golint)
    • Line 43: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 50: warning: exported method MinStack.GetMin should have comment or be unexported (golint)
    • Line 50: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0301-0400/0307_range-sum-query-mutable/1-分块处理.go
    • Line 9: warning: exported type NumArray should have comment or be unexported (golint)
    • Line 15: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 30: warning: exported method NumArray.Update should have comment or be unexported (golint)
    • Line 30: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 36: warning: exported method NumArray.SumRange should have comment or be unexported (golint)
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0401-0500/0478_generate-random-point-in-a-circle/1-循环.go
    • Line 9: warning: comment on exported type Solution should be of the form "Solution ..." (with optional leading article) (golint)
    • Line 16: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 16: warning: don't use underscores in Go names; func parameter x_center should be xCenter (golint)
    • Line 16: warning: don't use underscores in Go names; func parameter y_center should be yCenter (golint)
    • Line 24: warning: exported method Solution.RandPoint should have comment or be unexported (golint)
    • Line 24: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0201-0300/0225_implement-stack-using-queues/4-使用2个双端队列deque实现.go
    • Line 9: warning: don't use underscores in Go names; var param_2 should be param2 (golint)
    • Line 10: warning: don't use underscores in Go names; var param_3 should be param3 (golint)
    • Line 11: warning: don't use underscores in Go names; var param_4 should be param4 (golint)
    • Line 18: warning: exported type MyStack should have comment or be unexported (golint)
    • Line 23: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 30: warning: exported method MyStack.Push should have comment or be unexported (golint)
    • Line 34: warning: exported method MyStack.Pop should have comment or be unexported (golint)
    • Line 45: warning: exported method MyStack.Top should have comment or be unexported (golint)
    • Line 51: warning: exported method MyStack.Empty should have comment or be unexported (golint)
    • Line 55: warning: exported type Queue should have comment or be unexported (golint)
    • Line 59: warning: exported function NewQueue should have comment or be unexported (golint)
    • Line 65: warning: exported method Queue.Push should have comment or be unexported (golint)
    • Line 69: warning: exported method Queue.Pop should have comment or be unexported (golint)
    • Line 78: warning: exported method Queue.Len should have comment or be unexported (golint)
    • Line 82: warning: exported method Queue.IsEmpty should have comment or be unexported (golint)
    • go-leetcode/source/0601-0700/0677_map-sum-pairs/2-哈希辅助.go
    • Line 7: warning: exported type MapSum should have comment or be unexported (golint)
    • Line 12: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 19: warning: exported method MapSum.Insert should have comment or be unexported (golint)
    • Line 19: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 30: warning: exported method MapSum.Sum should have comment or be unexported (golint)
    • Line 30: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/2001-2100/2013_detect-squares/1-哈希.go
    • Line 7: warning: comment on exported type DetectSquares should be of the form "DetectSquares ..." (with optional leading article) (golint)
    • Line 12: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 18: warning: exported method DetectSquares.Add should have comment or be unexported (golint)
    • Line 18: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 26: warning: exported method DetectSquares.Count should have comment or be unexported (golint)
    • Line 26: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/1501-1600/1600_throne-inheritance/1-前序遍历.go
    • Line 7: warning: exported type Node should have comment or be unexported (golint)
    • Line 12: warning: exported type ThroneInheritance should have comment or be unexported (golint)
    • Line 18: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 32: warning: exported method ThroneInheritance.Birth should have comment or be unexported (golint)
    • Line 32: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 42: warning: exported method ThroneInheritance.Death should have comment or be unexported (golint)
    • Line 42: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 46: warning: exported method ThroneInheritance.GetInheritanceOrder should have comment or be unexported (golint)
    • Line 46: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0201-0300/0208_implement-trie-prefix-tree/1-trie树.go
    • Line 7: warning: comment on exported type Trie should be of the form "Trie ..." (with optional leading article) (golint)
    • Line 13: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 20: warning: exported method Trie.Insert should have comment or be unexported (golint)
    • Line 20: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 35: warning: exported method Trie.Search should have comment or be unexported (golint)
    • Line 35: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 49: warning: exported method Trie.StartsWith should have comment or be unexported (golint)
    • Line 49: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/1801-1900/1803_count-pairs-with-xor-in-a-range/1.go
    • Line 17: warning: exported type Trie should have comment or be unexported (golint)
    • Line 22: warning: comment on exported method Trie.Insert should be of the form "Insert ..." (golint)
    • Line 23: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 38: warning: comment on exported method Trie.Search should be of the form "Search ..." (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0701-0800/0710_random-pick-with-blacklist/1-遍历.go
    • Line 17: warning: comment on exported type Solution should be of the form "Solution ..." (with optional leading article) (golint)
    • Line 23: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 52: warning: exported method Solution.Pick should have comment or be unexported (golint)
    • Line 52: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0601-0700/0677_map-sum-pairs/3-哈希辅助.go
    • Line 9: warning: comment on exported type MapSum should be of the form "MapSum ..." (with optional leading article) (golint)
    • Line 14: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 20: warning: exported method MapSum.Insert should have comment or be unexported (golint)
    • Line 20: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 24: warning: exported method MapSum.Sum should have comment or be unexported (golint)
    • Line 24: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0701-0800/0707_design-linked-list/2-单链表.go
    • Line 7: warning: comment on exported type MyLinkedList should be of the form "MyLinkedList ..." (with optional leading article) (golint)
    • Line 13: warning: exported type Node should have comment or be unexported (golint)
    • Line 18: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 25: warning: exported method MyLinkedList.Get should have comment or be unexported (golint)
    • Line 25: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 36: warning: exported method MyLinkedList.AddAtHead should have comment or be unexported (golint)
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 40: warning: exported method MyLinkedList.AddAtTail should have comment or be unexported (golint)
    • Line 40: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 44: warning: exported method MyLinkedList.AddAtIndex should have comment or be unexported (golint)
    • Line 44: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 61: warning: exported method MyLinkedList.DeleteAtIndex should have comment or be unexported (golint)
    • Line 61: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/offer/面试题09_用两个栈实现队列/1-栈模拟队列.go
    • Line 19: warning: exported type CQueue should have comment or be unexported (golint)
    • Line 24: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 28: warning: comment on exported method CQueue.AppendTail should be of the form "AppendTail ..." (golint)
    • Line 30: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 34: warning: exported method CQueue.DeleteHead should have comment or be unexported (golint)
    • Line 34: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/lcci/面试题03.01.三合一/1-数组.go
    • Line 7: warning: comment on exported type TripleInOne should be of the form "TripleInOne ..." (with optional leading article) (golint)
    • Line 14: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 21: warning: exported method TripleInOne.Push should have comment or be unexported (golint)
    • Line 21: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 28: warning: exported method TripleInOne.Pop should have comment or be unexported (golint)
    • Line 28: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 37: warning: exported method TripleInOne.Peek should have comment or be unexported (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 45: warning: exported method TripleInOne.IsEmpty should have comment or be unexported (golint)
    • Line 45: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0701-0800/0706_design-hashmap/1-数组实现.go
    • Line 7: warning: comment on exported type MyHashMap should be of the form "MyHashMap ..." (with optional leading article) (golint)
    • Line 12: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 18: warning: exported method MyHashMap.Put should have comment or be unexported (golint)
    • Line 18: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 22: warning: exported method MyHashMap.Get should have comment or be unexported (golint)
    • Line 22: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 26: warning: exported method MyHashMap.Remove should have comment or be unexported (golint)
    • Line 26: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/offer2/剑指OfferII062.实现前缀树/2-trie树.go
    • Line 7: warning: exported type Trie should have comment or be unexported (golint)
    • Line 12: warning: comment on exported function Constructor should be of the form "Constructor ..." (golint)
    • Line 20: warning: comment on exported method Trie.Insert should be of the form "Insert ..." (golint)
    • Line 21: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 36: warning: comment on exported method Trie.Search should be of the form "Search ..." (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 51: warning: comment on exported method Trie.StartsWith should be of the form "StartsWith ..." (golint)
    • Line 52: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0901-1000/0981_time-based-key-value-store/1-map+二分查找.go
    • Line 7: warning: comment on exported type Node should be of the form "Node ..." (with optional leading article) (golint)
    • Line 13: warning: exported type TimeMap should have comment or be unexported (golint)
    • Line 17: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 21: warning: exported method TimeMap.Set should have comment or be unexported (golint)
    • Line 21: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 28: warning: exported method TimeMap.Get should have comment or be unexported (golint)
    • Line 28: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/lcci/面试题16.25.LRU缓存/1-双向链表.go
    • Line 11: warning: comment on exported type Node should be of the form "Node ..." (with optional leading article) (golint)
    • Line 19: warning: exported type LRUCache should have comment or be unexported (golint)
    • Line 26: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 38: warning: exported method LRUCache.Get should have comment or be unexported (golint)
    • Line 38: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 47: warning: exported method LRUCache.Put should have comment or be unexported (golint)
    • Line 47: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 67: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 73: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/lcci/面试题10.10.数字流的秩/3-内置函数.go
    • Line 5: warning: exported type StreamRank should have comment or be unexported (golint)
    • Line 9: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 13: warning: exported method StreamRank.Track should have comment or be unexported (golint)
    • Line 13: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 23: warning: exported method StreamRank.GetRankOfNumber should have comment or be unexported (golint)
    • Line 23: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/1301-1400/1381_design-a-stack-with-increment-operation/1-栈实现.go
    • Line 7: warning: comment on exported type CustomStack should be of the form "CustomStack ..." (with optional leading article) (golint)
    • Line 13: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 20: warning: exported method CustomStack.Push should have comment or be unexported (golint)
    • Line 20: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 26: warning: exported method CustomStack.Pop should have comment or be unexported (golint)
    • Line 26: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 35: warning: exported method CustomStack.Increment should have comment or be unexported (golint)
    • Line 35: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0701-0800/0729_my-calendar-i/2-平衡树.go
    • Line 7: warning: exported type MyCalendar should have comment or be unexported (golint)
    • Line 11: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 15: warning: exported method MyCalendar.Book should have comment or be unexported (golint)
    • Line 15: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 29: warning: exported type Node should have comment or be unexported (golint)
    • Line 36: warning: exported method Node.Insert should have comment or be unexported (golint)
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/2001-2100/2043_simple-bank-system/1-模拟.go
    • Line 7: warning: comment on exported type Bank should be of the form "Bank ..." (with optional leading article) (golint)
    • Line 13: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 17: warning: exported method Bank.Transfer should have comment or be unexported (golint)
    • Line 17: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 26: warning: exported method Bank.Deposit should have comment or be unexported (golint)
    • Line 26: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 34: warning: exported method Bank.Withdraw should have comment or be unexported (golint)
    • Line 34: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0901-1000/0911_online-election/2-二分查找.go
    • Line 7: warning: comment on exported type TopVotedCandidate should be of the form "TopVotedCandidate ..." (with optional leading article) (golint)
    • Line 13: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 34: warning: exported method TopVotedCandidate.Q should have comment or be unexported (golint)
    • Line 34: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0201-0300/0232_implement-queue-using-stacks/2-使用2个栈实现.go
    • Line 9: warning: don't use underscores in Go names; var param_2 should be param2 (golint)
    • Line 10: warning: don't use underscores in Go names; var param_3 should be param3 (golint)
    • Line 11: warning: don't use underscores in Go names; var param_4 should be param4 (golint)
    • Line 17: warning: comment on exported type MyQueue should be of the form "MyQueue ..." (with optional leading article) (golint)
    • Line 25: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 32: warning: exported method MyQueue.Push should have comment or be unexported (golint)
    • Line 36: warning: exported method MyQueue.Pop should have comment or be unexported (golint)
    • Line 45: warning: exported method MyQueue.Peek should have comment or be unexported (golint)
    • Line 51: warning: exported method MyQueue.Empty should have comment or be unexported (golint)
    • Line 55: warning: exported type Stack should have comment or be unexported (golint)
    • Line 59: warning: exported function NewStack should have comment or be unexported (golint)
    • Line 65: warning: exported method Stack.Push should have comment or be unexported (golint)
    • Line 69: warning: exported method Stack.Pop should have comment or be unexported (golint)
    • Line 75: warning: exported method Stack.Len should have comment or be unexported (golint)
    • Line 79: warning: exported method Stack.IsEmpty should have comment or be unexported (golint)
    • go-leetcode/source/0301-0400/0380_insert-delete-getrandom-o1/2-哈希表.go
    • Line 11: warning: exported type RandomizedSet should have comment or be unexported (golint)
    • Line 15: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 21: warning: exported method RandomizedSet.Insert should have comment or be unexported (golint)
    • Line 21: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 29: warning: exported method RandomizedSet.Remove should have comment or be unexported (golint)
    • Line 29: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 37: warning: exported method RandomizedSet.GetRandom should have comment or be unexported (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/1301-1400/1381_design-a-stack-with-increment-operation/2-数组.go
    • Line 9: warning: exported type CustomStack should have comment or be unexported (golint)
    • Line 15: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 23: warning: exported method CustomStack.Push should have comment or be unexported (golint)
    • Line 23: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 30: warning: exported method CustomStack.Pop should have comment or be unexported (golint)
    • Line 30: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 43: warning: exported method CustomStack.Increment should have comment or be unexported (golint)
    • Line 43: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/offer2/剑指OfferII055.二叉搜索树迭代器/2-栈辅助.go
    • Line 7: warning: exported type TreeNode should have comment or be unexported (golint)
    • Line 13: warning: comment on exported type BSTIterator should be of the form "BSTIterator ..." (with optional leading article) (golint)
    • Line 18: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 24: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 31: warning: exported method BSTIterator.Next should have comment or be unexported (golint)
    • Line 31: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 40: warning: exported method BSTIterator.HasNext should have comment or be unexported (golint)
    • Line 40: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/offer2/剑指OfferII055.二叉搜索树迭代器/1-数组辅助.go
    • Line 7: warning: exported type TreeNode should have comment or be unexported (golint)
    • Line 13: warning: exported type BSTIterator should have comment or be unexported (golint)
    • Line 18: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 36: warning: exported method BSTIterator.Next should have comment or be unexported (golint)
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 45: warning: exported method BSTIterator.HasNext should have comment or be unexported (golint)
    • Line 45: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0301-0400/0385_mini-parser/1-栈辅助.go
    • Line 8: warning: exported type NestedInteger should have comment or be unexported (golint)
    • Line 10: warning: exported method NestedInteger.IsInteger should have comment or be unexported (golint)
    • Line 12: warning: exported method NestedInteger.GetInteger should have comment or be unexported (golint)
    • Line 14: warning: exported method NestedInteger.SetInteger should have comment or be unexported (golint)
    • Line 16: warning: exported method NestedInteger.Add should have comment or be unexported (golint)
    • Line 18: warning: exported method NestedInteger.GetList should have comment or be unexported (golint)
    • go-leetcode/source/lcci/面试题10.10.数字流的秩/1-树状数组.go
    • Line 7: warning: exported type StreamRank should have comment or be unexported (golint)
    • Line 12: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 19: warning: exported method StreamRank.Track should have comment or be unexported (golint)
    • Line 19: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 23: warning: exported method StreamRank.GetRankOfNumber should have comment or be unexported (golint)
    • Line 23: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 27: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 32: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 40: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0601-0700/0676_implement-magic-dictionary/2-暴力法.go
    • Line 7: warning: comment on exported type MagicDictionary should be of the form "MagicDictionary ..." (with optional leading article) (golint)
    • Line 12: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 16: warning: exported method MagicDictionary.BuildDict should have comment or be unexported (golint)
    • Line 16: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 20: warning: exported method MagicDictionary.Search should have comment or be unexported (golint)
    • Line 20: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0701-0800/0707_design-linked-list/1-单链表.go
    • Line 7: warning: exported type MyLinkedList should have comment or be unexported (golint)
    • Line 13: warning: exported type Node should have comment or be unexported (golint)
    • Line 18: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 27: warning: exported method MyLinkedList.Get should have comment or be unexported (golint)
    • Line 27: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 40: warning: exported method MyLinkedList.AddAtHead should have comment or be unexported (golint)
    • Line 40: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 47: warning: exported method MyLinkedList.AddAtTail should have comment or be unexported (golint)
    • Line 47: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 55: warning: exported method MyLinkedList.AddAtIndex should have comment or be unexported (golint)
    • Line 55: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 78: warning: exported method MyLinkedList.DeleteAtIndex should have comment or be unexported (golint)
    • Line 78: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/1101-1200/1146_snapshot-array/3-哈希辅助+二分查找.go
    • Line 19: warning: exported type SnapshotArray should have comment or be unexported (golint)
    • Line 24: warning: exported type Snap should have comment or be unexported (golint)
    • Line 29: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 43: warning: exported method SnapshotArray.Set should have comment or be unexported (golint)
    • Line 43: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 55: warning: exported method SnapshotArray.Snap should have comment or be unexported (golint)
    • Line 55: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 61: warning: exported method SnapshotArray.Get should have comment or be unexported (golint)
    • Line 61: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 61: warning: don't use underscores in Go names; method parameter snap_id should be snapID (golint)
    • go-leetcode/source/offer2/剑指OfferII066.单词之和/1-trie树.go
    • Line 7: warning: exported type MapSum should have comment or be unexported (golint)
    • Line 12: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 19: warning: exported method MapSum.Insert should have comment or be unexported (golint)
    • Line 19: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 31: warning: exported method MapSum.Sum should have comment or be unexported (golint)
    • Line 31: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/1201-1300/1286_iterator-for-combination/2-递归.go
    • Line 7: warning: comment on exported type CombinationIterator should be of the form "CombinationIterator ..." (with optional leading article) (golint)
    • Line 22: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 31: warning: exported method CombinationIterator.Next should have comment or be unexported (golint)
    • Line 31: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 39: warning: exported method CombinationIterator.HasNext should have comment or be unexported (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/1801-1900/1845_seat-reservation-manager/1-堆.go
    • Line 9: warning: comment on exported type SeatManager should be of the form "SeatManager ..." (with optional leading article) (golint)
    • Line 14: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 23: warning: exported method SeatManager.Reserve should have comment or be unexported (golint)
    • Line 23: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 28: warning: exported method SeatManager.Unreserve should have comment or be unexported (golint)
    • Line 28: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 32: warning: exported type IntHeap should have comment or be unexported (golint)
    • Line 47: warning: exported method IntHeap.Push should have comment or be unexported (golint)
    • Line 51: warning: exported method IntHeap.Pop should have comment or be unexported (golint)
    • go-leetcode/source/0401-0500/0460_lfu-cache/2-内置函数.go
    • Line 5: warning: comment on exported type Node should be of the form "Node ..." (with optional leading article) (golint)
    • Line 12: warning: exported type LFUCache should have comment or be unexported (golint)
    • Line 19: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 28: warning: exported method LFUCache.Get should have comment or be unexported (golint)
    • Line 28: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 36: warning: exported method LFUCache.Put should have comment or be unexported (golint)
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 66: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0601-0700/0677_map-sum-pairs/1-trie树.go
    • Line 7: warning: exported type MapSum should have comment or be unexported (golint)
    • Line 12: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 19: warning: exported method MapSum.Insert should have comment or be unexported (golint)
    • Line 19: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 31: warning: exported method MapSum.Sum should have comment or be unexported (golint)
    • Line 31: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/1601-1700/1656_design-an-ordered-stream/1-数组.go
    • Line 7: warning: comment on exported type OrderedStream should be of the form "OrderedStream ..." (with optional leading article) (golint)
    • Line 13: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 20: warning: exported method OrderedStream.Insert should have comment or be unexported (golint)
    • Line 20: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/lcci/面试题16.02.单词频率/1-map.go
    • Line 7: warning: comment on exported type WordsFrequency should be of the form "WordsFrequency ..." (with optional leading article) (golint)
    • Line 12: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 20: warning: exported method WordsFrequency.Get should have comment or be unexported (golint)
    • Line 20: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/1401-1500/1472_design-browser-history/1-数组.go
    • Line 7: warning: comment on exported type BrowserHistory should be of the form "BrowserHistory ..." (with optional leading article) (golint)
    • Line 13: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 20: warning: exported method BrowserHistory.Visit should have comment or be unexported (golint)
    • Line 20: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 31: warning: exported method BrowserHistory.Back should have comment or be unexported (golint)
    • Line 31: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 40: warning: exported method BrowserHistory.Forward should have comment or be unexported (golint)
    • Line 40: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/1201-1300/1286_iterator-for-combination/1-遍历.go
    • Line 7: warning: exported type CombinationIterator should have comment or be unexported (golint)
    • Line 13: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 25: warning: exported method CombinationIterator.Next should have comment or be unexported (golint)
    • Line 25: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 54: warning: exported method CombinationIterator.HasNext should have comment or be unexported (golint)
    • Line 54: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0301-0400/0341_flatten-nested-list-iterator/2-队列辅助.go
    • Line 7: warning: exported type NestedInteger should have comment or be unexported (golint)
    • Line 9: warning: exported method NestedInteger.IsInteger should have comment or be unexported (golint)
    • Line 9: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 12: warning: exported method NestedInteger.GetInteger should have comment or be unexported (golint)
    • Line 12: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 15: warning: exported method NestedInteger.SetInteger should have comment or be unexported (golint)
    • Line 16: warning: exported method NestedInteger.Add should have comment or be unexported (golint)
    • Line 16: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 17: warning: exported method NestedInteger.GetList should have comment or be unexported (golint)
    • Line 17: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 21: warning: comment on exported type NestedIterator should be of the form "NestedIterator ..." (with optional leading article) (golint)
    • Line 26: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 42: warning: exported method NestedIterator.Next should have comment or be unexported (golint)
    • Line 42: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 48: warning: exported method NestedIterator.HasNext should have comment or be unexported (golint)
    • Line 48: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0401-0500/0494_serialize-and-deserialize-bst/2-迭代.go
    • Line 12: warning: exported type TreeNode should have comment or be unexported (golint)
    • Line 18: warning: exported type Codec should have comment or be unexported (golint)
    • Line 22: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 26: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 46: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/offer/面试题59-II_队列的最大值/1-双队列.go
    • Line 7: warning: comment on exported type MaxQueue should be of the form "MaxQueue ..." (with optional leading article) (golint)
    • Line 13: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 20: warning: exported method MaxQueue.Max_value should have comment or be unexported (golint)
    • Line 20: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 20: warning: don't use underscores in Go names; method Max_value should be MaxValue (golint)
    • Line 27: warning: exported method MaxQueue.Push_back should have comment or be unexported (golint)
    • Line 27: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 27: warning: don't use underscores in Go names; method Push_back should be PushBack (golint)
    • Line 35: warning: exported method MaxQueue.Pop_front should have comment or be unexported (golint)
    • Line 35: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 35: warning: don't use underscores in Go names; method Pop_front should be PopFront (golint)
    • go-leetcode/source/0101-0200/0155_min-stack/1-使用单独的结构体保存数据.go
    • Line 9: warning: don't use underscores in Go names; var param_3 should be param3 (golint)
    • Line 10: warning: don't use underscores in Go names; var param_4 should be param4 (golint)
    • Line 20: warning: exported type MinStack should have comment or be unexported (golint)
    • Line 24: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 28: warning: exported method MinStack.Push should have comment or be unexported (golint)
    • Line 28: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 39: warning: exported method MinStack.Pop should have comment or be unexported (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 43: warning: exported method MinStack.Top should have comment or be unexported (golint)
    • Line 43: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 50: warning: exported method MinStack.GetMin should have comment or be unexported (golint)
    • Line 50: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0201-0300/0295_find-median-from-data-stream/1-大小根堆-内置heap接口.go
    • Line 9: warning: comment on exported type MinHeap should be of the form "MinHeap ..." (with optional leading article) (golint)
    • Line 23: warning: exported method MinHeap.Push should have comment or be unexported (golint)
    • Line 27: warning: exported method MinHeap.Pop should have comment or be unexported (golint)
    • Line 33: warning: exported type MaxHeap should have comment or be unexported (golint)
    • Line 46: warning: exported method MaxHeap.Push should have comment or be unexported (golint)
    • Line 50: warning: exported method MaxHeap.Pop should have comment or be unexported (golint)
    • Line 56: warning: exported type MedianFinder should have comment or be unexported (golint)
    • Line 61: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 70: warning: exported method MedianFinder.AddNum should have comment or be unexported (golint)
    • Line 70: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 80: warning: exported method MedianFinder.FindMedian should have comment or be unexported (golint)
    • Line 80: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 83: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • go-leetcode/source/0301-0400/0380_insert-delete-getrandom-o1/1-哈希表+数组.go
    • Line 9: warning: comment on exported type RandomizedSet should be of the form "RandomizedSet ..." (with optional leading article) (golint)
    • Line 15: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 22: warning: exported method RandomizedSet.Insert should have comment or be unexported (golint)
    • Line 22: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 31: warning: exported method RandomizedSet.Remove should have comment or be unexported (golint)
    • Line 31: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 43: warning: exported method RandomizedSet.GetRandom should have comment or be unexported (golint)
    • Line 43: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/lcci/面试题17.17.多次搜索/3-trie树.go
    • Line 30: warning: exported type Trie should have comment or be unexported (golint)
    • Line 35: warning: comment on exported method Trie.Insert should be of the form "Insert ..." (golint)
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 51: warning: comment on exported method Trie.Search should be of the form "Search ..." (golint)
    • Line 52: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0201-0300/0232_implement-queue-using-stacks/1-使用切片实现.go
    • Line 9: warning: don't use underscores in Go names; var param_2 should be param2 (golint)
    • Line 10: warning: don't use underscores in Go names; var param_3 should be param3 (golint)
    • Line 11: warning: don't use underscores in Go names; var param_4 should be param4 (golint)
    • Line 17: warning: comment on exported type MyQueue should be of the form "MyQueue ..." (with optional leading article) (golint)
    • Line 22: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 26: warning: exported method MyQueue.Push should have comment or be unexported (golint)
    • Line 30: warning: exported method MyQueue.Pop should have comment or be unexported (golint)
    • Line 39: warning: exported method MyQueue.Peek should have comment or be unexported (golint)
    • Line 46: warning: exported method MyQueue.Empty should have comment or be unexported (golint)
    • go-leetcode/source/1201-1300/1268_search-suggestions-system/2-trie树.go
    • Line 21: warning: exported type Trie should have comment or be unexported (golint)
    • Line 26: warning: comment on exported method Trie.Insert should be of the form "Insert ..." (golint)
    • Line 27: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 41: warning: comment on exported method Trie.StartsWith should be of the form "StartsWith ..." (golint)
    • Line 42: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 55: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0201-0300/0225_implement-stack-using-queues/1-使用切片实现.go
    • Line 9: warning: don't use underscores in Go names; var param_2 should be param2 (golint)
    • Line 10: warning: don't use underscores in Go names; var param_3 should be param3 (golint)
    • Line 11: warning: don't use underscores in Go names; var param_4 should be param4 (golint)
    • Line 18: warning: comment on exported type MyStack should be of the form "MyStack ..." (with optional leading article) (golint)
    • Line 23: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 27: warning: exported method MyStack.Push should have comment or be unexported (golint)
    • Line 31: warning: exported method MyStack.Pop should have comment or be unexported (golint)
    • Line 40: warning: exported method MyStack.Top should have comment or be unexported (golint)
    • Line 47: warning: exported method MyStack.Empty should have comment or be unexported (golint)
    • go-leetcode/source/0701-0800/0732_my-calendar-iii/1-差分.go
    • Line 9: warning: comment on exported type MyCalendarThree should be of the form "MyCalendarThree ..." (with optional leading article) (golint)
    • Line 14: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 18: warning: exported method MyCalendarThree.Book should have comment or be unexported (golint)
    • Line 18: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/1701-1800/1797_design-authentication-manager/2-哈希辅助.go
    • Line 7: warning: comment on exported type AuthenticationManager should be of the form "AuthenticationManager ..." (with optional leading article) (golint)
    • Line 13: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 20: warning: exported method AuthenticationManager.Generate should have comment or be unexported (golint)
    • Line 20: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 24: warning: exported method AuthenticationManager.Renew should have comment or be unexported (golint)
    • Line 24: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 34: warning: exported method AuthenticationManager.CountUnexpiredTokens should have comment or be unexported (golint)
    • Line 34: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/1101-1200/1146_snapshot-array/2-哈希辅助.go
    • Line 19: warning: comment on exported type SnapshotArray should be of the form "SnapshotArray ..." (with optional leading article) (golint)
    • Line 25: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 32: warning: exported method SnapshotArray.Set should have comment or be unexported (golint)
    • Line 32: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 39: warning: exported method SnapshotArray.Snap should have comment or be unexported (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 45: warning: exported method SnapshotArray.Get should have comment or be unexported (golint)
    • Line 45: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 45: warning: don't use underscores in Go names; method parameter snap_id should be snapID (golint)
    • go-leetcode/source/offer2/剑指OfferII030.插入、删除和随机访问都是O(1)的容器/2-哈希表.go
    • Line 11: warning: exported type RandomizedSet should have comment or be unexported (golint)
    • Line 15: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 21: warning: exported method RandomizedSet.Insert should have comment or be unexported (golint)
    • Line 21: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 29: warning: exported method RandomizedSet.Remove should have comment or be unexported (golint)
    • Line 29: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 37: warning: exported method RandomizedSet.GetRandom should have comment or be unexported (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0301-0400/0382_linked-list-random-node/1-蓄水池抽样.go
    • Line 12: warning: exported type ListNode should have comment or be unexported (golint)
    • Line 17: warning: comment on exported type Solution should be of the form "Solution ..." (with optional leading article) (golint)
    • Line 23: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 30: warning: exported method Solution.GetRandom should have comment or be unexported (golint)
    • Line 30: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/1601-1700/1603_design-parking-system/1-数组.go
    • Line 7: warning: exported type ParkingSystem should have comment or be unexported (golint)
    • Line 12: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 19: warning: exported method ParkingSystem.AddCar should have comment or be unexported (golint)
    • Line 19: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/offer2/剑指OfferII041.滑动窗口的平均值/1-数组.go
    • Line 7: warning: comment on exported type MovingAverage should be of the form "MovingAverage ..." (with optional leading article) (golint)
    • Line 14: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 22: warning: exported method MovingAverage.Next should have comment or be unexported (golint)
    • Line 22: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/lcci/面试题03.06.动物收容所/1-双数组.go
    • Line 7: warning: exported type AnimalShelf should have comment or be unexported (golint)
    • Line 12: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 19: warning: exported method AnimalShelf.Enqueue should have comment or be unexported (golint)
    • Line 19: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 27: warning: exported method AnimalShelf.DequeueAny should have comment or be unexported (golint)
    • Line 27: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 52: warning: exported method AnimalShelf.DequeueDog should have comment or be unexported (golint)
    • Line 52: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 61: warning: exported method AnimalShelf.DequeueCat should have comment or be unexported (golint)
    • Line 61: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/offer2/剑指OfferII064.神奇的字典/1-哈希辅助.go
    • Line 7: warning: exported type MagicDictionary should have comment or be unexported (golint)
    • Line 11: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 15: warning: exported method MagicDictionary.BuildDict should have comment or be unexported (golint)
    • Line 15: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 21: warning: exported method MagicDictionary.Search should have comment or be unexported (golint)
    • Line 21: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/offer2/剑指OfferII066.单词之和/2-哈希辅助.go
    • Line 7: warning: exported type MapSum should have comment or be unexported (golint)
    • Line 12: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 19: warning: exported method MapSum.Insert should have comment or be unexported (golint)
    • Line 19: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 30: warning: exported method MapSum.Sum should have comment or be unexported (golint)
    • Line 30: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0901-1000/0901_online-stock-span/1-单调栈.go
    • Line 7: warning: comment on exported type StockSpanner should be of the form "StockSpanner ..." (with optional leading article) (golint)
    • Line 13: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 20: warning: exported method StockSpanner.Next should have comment or be unexported (golint)
    • Line 20: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0901-1000/0919_complete-binary-tree-inserter/1-广度优先搜索.go
    • Line 7: warning: exported type TreeNode should have comment or be unexported (golint)
    • Line 13: warning: comment on exported type CBTInserter should be of the form "CBTInserter ..." (with optional leading article) (golint)
    • Line 19: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 41: warning: exported method CBTInserter.Insert should have comment or be unexported (golint)
    • Line 41: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 54: warning: exported method CBTInserter.Get_root should have comment or be unexported (golint)
    • Line 54: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 54: warning: don't use underscores in Go names; method Get_root should be GetRoot (golint)
    • go-leetcode/source/offer2/剑指OfferII064.神奇的字典/2-暴力法.go
    • Line 7: warning: comment on exported type MagicDictionary should be of the form "MagicDictionary ..." (with optional leading article) (golint)
    • Line 12: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 16: warning: exported method MagicDictionary.BuildDict should have comment or be unexported (golint)
    • Line 16: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 20: warning: exported method MagicDictionary.Search should have comment or be unexported (golint)
    • Line 20: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0201-0300/0232_implement-queue-using-stacks/3-使用2个切片实现.go
    • Line 9: warning: don't use underscores in Go names; var param_2 should be param2 (golint)
    • Line 10: warning: don't use underscores in Go names; var param_3 should be param3 (golint)
    • Line 11: warning: don't use underscores in Go names; var param_4 should be param4 (golint)
    • Line 17: warning: exported type MyQueue should have comment or be unexported (golint)
    • Line 22: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 26: warning: exported method MyQueue.Push should have comment or be unexported (golint)
    • Line 30: warning: exported method MyQueue.Pop should have comment or be unexported (golint)
    • Line 37: warning: exported method MyQueue.Peek should have comment or be unexported (golint)
    • Line 50: warning: exported method MyQueue.Empty should have comment or be unexported (golint)
    • go-leetcode/source/offer2/剑指OfferII031.最近最少使用缓存/1-双向链表.go
    • Line 11: warning: comment on exported type Node should be of the form "Node ..." (with optional leading article) (golint)
    • Line 19: warning: exported type LRUCache should have comment or be unexported (golint)
    • Line 26: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 38: warning: exported method LRUCache.Get should have comment or be unexported (golint)
    • Line 38: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 47: warning: exported method LRUCache.Put should have comment or be unexported (golint)
    • Line 47: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 67: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 73: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0201-0300/0225_implement-stack-using-queues/3-使用2个list实现.go
    • Line 12: warning: don't use underscores in Go names; var param_2 should be param2 (golint)
    • Line 13: warning: don't use underscores in Go names; var param_3 should be param3 (golint)
    • Line 14: warning: don't use underscores in Go names; var param_4 should be param4 (golint)
    • Line 21: warning: comment on exported type MyStack should be of the form "MyStack ..." (with optional leading article) (golint)
    • Line 34: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 41: warning: exported method MyStack.Push should have comment or be unexported (golint)
    • Line 49: warning: exported method MyStack.Pop should have comment or be unexported (golint)
    • Line 65: warning: exported method MyStack.Top should have comment or be unexported (golint)
    • Line 84: warning: exported method MyStack.Empty should have comment or be unexported (golint)
    • go-leetcode/source/offer2/剑指OfferII063.替换单词/2-字典树.go
    • Line 26: warning: exported type Trie should have comment or be unexported (golint)
    • Line 31: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 38: warning: comment on exported method Trie.Insert should be of the form "Insert ..." (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 54: warning: comment on exported method Trie.Search should be of the form "Search ..." (golint)
    • Line 55: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/offer2/剑指OfferII058.日程表/2-平衡树.go
    • Line 7: warning: exported type MyCalendar should have comment or be unexported (golint)
    • Line 11: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 15: warning: exported method MyCalendar.Book should have comment or be unexported (golint)
    • Line 15: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 29: warning: exported type Node should have comment or be unexported (golint)
    • Line 36: warning: exported method Node.Insert should have comment or be unexported (golint)
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/1301-1400/1348_tweet-counts-per-frequency/1-遍历.go
    • Line 7: warning: comment on exported type TweetCounts should be of the form "TweetCounts ..." (with optional leading article) (golint)
    • Line 12: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 16: warning: exported method TweetCounts.RecordTweet should have comment or be unexported (golint)
    • Line 16: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 20: warning: exported method TweetCounts.GetTweetCountsPerFrequency should have comment or be unexported (golint)
    • Line 20: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/offer2/剑指OfferII062.实现前缀树/1-trie树.go
    • Line 7: warning: comment on exported type Trie should be of the form "Trie ..." (with optional leading article) (golint)
    • Line 13: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 20: warning: exported method Trie.Insert should have comment or be unexported (golint)
    • Line 20: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 35: warning: exported method Trie.Search should have comment or be unexported (golint)
    • Line 35: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 49: warning: exported method Trie.StartsWith should have comment or be unexported (golint)
    • Line 49: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/offer2/剑指OfferII043.往完全二叉树添加节点/1-广度优先搜索.go
    • Line 7: warning: exported type TreeNode should have comment or be unexported (golint)
    • Line 13: warning: comment on exported type CBTInserter should be of the form "CBTInserter ..." (with optional leading article) (golint)
    • Line 19: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 41: warning: exported method CBTInserter.Insert should have comment or be unexported (golint)
    • Line 41: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 54: warning: exported method CBTInserter.Get_root should have comment or be unexported (golint)
    • Line 54: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 54: warning: don't use underscores in Go names; method Get_root should be GetRoot (golint)
    • go-leetcode/source/offer2/剑指OfferII048.序列化与反序列化二叉树/1-递归.go
    • Line 12: warning: exported type TreeNode should have comment or be unexported (golint)
    • Line 18: warning: comment on exported type Codec should be of the form "Codec ..." (with optional leading article) (golint)
    • Line 23: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 28: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 41: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0301-0400/0307_range-sum-query-mutable/2-线段树.go
    • Line 12: warning: exported type NumArray should have comment or be unexported (golint)
    • Line 18: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 32: warning: exported method NumArray.Update should have comment or be unexported (golint)
    • Line 32: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 37: warning: exported method NumArray.SumRange should have comment or be unexported (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 41: warning: exported method NumArray.UpdateArr should have comment or be unexported (golint)
    • Line 41: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 54: warning: exported method NumArray.Query should have comment or be unexported (golint)
    • Line 54: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0801-0900/0900_rle-iterator/1-遍历.go
    • Line 7: warning: comment on exported type RLEIterator should be of the form "RLEIterator ..." (with optional leading article) (golint)
    • Line 14: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 22: warning: exported method RLEIterator.Next should have comment or be unexported (golint)
    • Line 22: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/offer2/剑指OfferII048.序列化与反序列化二叉树/2-迭代.go
    • Line 12: warning: exported type TreeNode should have comment or be unexported (golint)
    • Line 18: warning: exported type Codec should have comment or be unexported (golint)
    • Line 22: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 27: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 48: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0301-0400/0398_random-pick-index/2-遍历.go
    • Line 12: warning: comment on exported type Solution should be of the form "Solution ..." (with optional leading article) (golint)
    • Line 18: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 25: warning: exported method Solution.Pick should have comment or be unexported (golint)
    • Line 25: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0701-0800/0705_design-hashset/1-数组实现.go
    • Line 13: warning: comment on exported type MyHashSet should be of the form "MyHashSet ..." (with optional leading article) (golint)
    • Line 18: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 24: warning: exported method MyHashSet.Add should have comment or be unexported (golint)
    • Line 28: warning: exported method MyHashSet.Remove should have comment or be unexported (golint)
    • Line 32: warning: exported method MyHashSet.Contains should have comment or be unexported (golint)
    • go-leetcode/source/0201-0300/0284_peeking-iterator/1-缓存.go
    • Line 7: warning: exported type Iterator should have comment or be unexported (golint)
    • Line 10: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 14: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 18: warning: exported type PeekingIterator should have comment or be unexported (golint)
    • Line 24: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 32: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 45: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0101-0200/0173_binary-search-tree-iterator/2-栈辅助.go
    • Line 7: warning: exported type TreeNode should have comment or be unexported (golint)
    • Line 13: warning: comment on exported type BSTIterator should be of the form "BSTIterator ..." (with optional leading article) (golint)
    • Line 18: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 24: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 31: warning: exported method BSTIterator.Next should have comment or be unexported (golint)
    • Line 31: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 40: warning: exported method BSTIterator.HasNext should have comment or be unexported (golint)
    • Line 40: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0401-0500/0494_serialize-and-deserialize-bst/1-递归.go
    • Line 12: warning: exported type TreeNode should have comment or be unexported (golint)
    • Line 18: warning: comment on exported type Codec should be of the form "Codec ..." (with optional leading article) (golint)
    • Line 23: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 27: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 34: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/offer2/剑指OfferII030.插入、删除和随机访问都是O(1)的容器/1-哈希表+数组.go
    • Line 9: warning: comment on exported type RandomizedSet should be of the form "RandomizedSet ..." (with optional leading article) (golint)
    • Line 15: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 22: warning: exported method RandomizedSet.Insert should have comment or be unexported (golint)
    • Line 22: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 31: warning: exported method RandomizedSet.Remove should have comment or be unexported (golint)
    • Line 31: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 43: warning: exported method RandomizedSet.GetRandom should have comment or be unexported (golint)
    • Line 43: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0201-0300/0297_serialize-and-deserialize-binary-tree/1-递归.go
    • Line 12: warning: exported type TreeNode should have comment or be unexported (golint)
    • Line 18: warning: comment on exported type Codec should be of the form "Codec ..." (with optional leading article) (golint)
    • Line 23: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 28: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 41: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0301-0400/0341_flatten-nested-list-iterator/1-队列辅助.go
    • Line 7: warning: exported type NestedInteger should have comment or be unexported (golint)
    • Line 9: warning: exported method NestedInteger.IsInteger should have comment or be unexported (golint)
    • Line 9: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 12: warning: exported method NestedInteger.GetInteger should have comment or be unexported (golint)
    • Line 12: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 15: warning: exported method NestedInteger.SetInteger should have comment or be unexported (golint)
    • Line 16: warning: exported method NestedInteger.Add should have comment or be unexported (golint)
    • Line 16: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 17: warning: exported method NestedInteger.GetList should have comment or be unexported (golint)
    • Line 17: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 21: warning: exported type NestedIterator should have comment or be unexported (golint)
    • Line 25: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 29: warning: exported method NestedIterator.Next should have comment or be unexported (golint)
    • Line 29: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 35: warning: exported method NestedIterator.HasNext should have comment or be unexported (golint)
    • Line 35: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/1301-1400/1352_product-of-the-last-k-numbers/2-前缀积.go
    • Line 7: warning: comment on exported type ProductOfNumbers should be of the form "ProductOfNumbers ..." (with optional leading article) (golint)
    • Line 12: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 16: warning: exported method ProductOfNumbers.Add should have comment or be unexported (golint)
    • Line 16: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 25: warning: exported method ProductOfNumbers.GetProduct should have comment or be unexported (golint)
    • Line 25: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/1301-1400/1352_product-of-the-last-k-numbers/1-遍历.go
    • Line 7: warning: exported type ProductOfNumbers should have comment or be unexported (golint)
    • Line 11: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 15: warning: exported method ProductOfNumbers.Add should have comment or be unexported (golint)
    • Line 15: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 19: warning: exported method ProductOfNumbers.GetProduct should have comment or be unexported (golint)
    • Line 19: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/offer2/剑指OfferII013.二维子矩阵的和/1-前缀和.go
    • Line 7: warning: comment on exported type NumMatrix should be of the form "NumMatrix ..." (with optional leading article) (golint)
    • Line 12: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 33: warning: exported method NumMatrix.SumRegion should have comment or be unexported (golint)
    • Line 33: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/1401-1500/1476_subrectangle-queries/2-查询更改.go
    • Line 7: warning: exported type SubrectangleQueries should have comment or be unexported (golint)
    • Line 12: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 16: warning: exported method SubrectangleQueries.UpdateSubrectangle should have comment or be unexported (golint)
    • Line 16: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 20: warning: exported method SubrectangleQueries.GetValue should have comment or be unexported (golint)
    • Line 20: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/lcci/面试题17.20.连续中值/1-双堆.go
    • Line 9: warning: comment on exported type MinHeap should be of the form "MinHeap ..." (with optional leading article) (golint)
    • Line 23: warning: exported method MinHeap.Push should have comment or be unexported (golint)
    • Line 27: warning: exported method MinHeap.Pop should have comment or be unexported (golint)
    • Line 33: warning: exported type MaxHeap should have comment or be unexported (golint)
    • Line 46: warning: exported method MaxHeap.Push should have comment or be unexported (golint)
    • Line 50: warning: exported method MaxHeap.Pop should have comment or be unexported (golint)
    • Line 56: warning: exported type MedianFinder should have comment or be unexported (golint)
    • Line 61: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 70: warning: exported method MedianFinder.AddNum should have comment or be unexported (golint)
    • Line 70: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 80: warning: exported method MedianFinder.FindMedian should have comment or be unexported (golint)
    • Line 80: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 83: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • go-leetcode/source/0601-0700/0641_design-circular-deque/3-数组模拟.go
    • Line 7: warning: comment on exported type MyCircularDeque should be of the form "MyCircularDeque ..." (with optional leading article) (golint)
    • Line 14: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 22: warning: exported method MyCircularDeque.InsertFront should have comment or be unexported (golint)
    • Line 22: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 31: warning: exported method MyCircularDeque.InsertLast should have comment or be unexported (golint)
    • Line 31: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 40: warning: exported method MyCircularDeque.DeleteFront should have comment or be unexported (golint)
    • Line 40: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 49: warning: exported method MyCircularDeque.DeleteLast should have comment or be unexported (golint)
    • Line 49: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 58: warning: exported method MyCircularDeque.GetFront should have comment or be unexported (golint)
    • Line 58: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 65: warning: exported method MyCircularDeque.GetRear should have comment or be unexported (golint)
    • Line 65: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 72: warning: exported method MyCircularDeque.IsEmpty should have comment or be unexported (golint)
    • Line 72: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 76: warning: exported method MyCircularDeque.IsFull should have comment or be unexported (golint)
    • Line 76: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-leetcode/source/0701-0800/0729_my-calendar-i/1-暴力法.go
    • Line 7: warning: comment on exported type MyCalendar should be of the form "MyCalendar ..." (with optional leading article) (golint)
    • Line 12: warning: exported function Constructor should have comment or be unexported (golint)
    • Line 16: warning: exported method MyCalendar.Book should have comment or be unexported (golint)
    • Line 16: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)

license0%

Checks whether your project has a LICENSE file.


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!