Skip to content

Instantly share code, notes, and snippets.

@tsenart
Created July 10, 2015 04:23
Show Gist options
  • Save tsenart/7936f6086a9d1df600fa to your computer and use it in GitHub Desktop.
Save tsenart/7936f6086a9d1df600fa to your computer and use it in GitHub Desktop.
λ ~/go/src/github.com/mesosphere/RENDLER/go/src/github.com/mesosphere/rendler/ master golint .
edge.go:7:6: exported type Edge should have comment or be unexported
export_dot.go:16:1: exported function WriteDOTFile should have comment or be unexported
export_dot.go:38:3: don't use underscores in Go names; var hash_bytes should be hashBytes
export_dot.go:58:3: don't use underscores in Go names; var from_hash_bytes should be fromHashBytes
export_dot.go:59:3: don't use underscores in Go names; var from_hash should be fromHash
export_dot.go:62:3: don't use underscores in Go names; var to_hash_bytes should be toHashBytes
export_dot.go:63:3: don't use underscores in Go names; var to_hash should be toHash
results.go:8:1: comment on exported type CrawlResult should be of the form "CrawlResult ..." (with optional leading article)
results.go:15:1: exported method CrawlResult.FromJson should have comment or be unexported
results.go:15:27: func FromJson should be FromJSON
results.go:23:1: exported method CrawlResult.ToJson should have comment or be unexported
results.go:23:1: receiver name source should be consistent with previous receiver name target for CrawlResult
results.go:23:27: func ToJson should be ToJSON
results.go:31:1: comment on exported type RenderResult should be of the form "RenderResult ..." (with optional leading article)
results.go:38:1: exported method RenderResult.FromJson should have comment or be unexported
results.go:38:28: func FromJson should be FromJSON
results.go:46:1: exported method RenderResult.ToJson should have comment or be unexported
results.go:46:1: receiver name source should be consistent with previous receiver name target for RenderResult
results.go:46:28: func ToJson should be ToJSON
task_state.go:7:1: exported function NameFor should have comment or be unexported
task_state.go:28:1: exported function IsTerminal should have comment or be unexported
λ ~/go/src/github.com/mesosphere/RENDLER/go/src/github.com/mesosphere/rendler/ master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment