go-ml-dev/iokit

View on GitHub

Showing 115 of 115 total issues

exported method Cache.Path should have comment or be unexported
Open

func (c Cache) Path() string {
Severity: Minor
Found in cache.go by golint

exported function Decompress should have comment or be unexported
Open

func Decompress(source interface{}) io.ReadCloser {
Severity: Minor
Found in decompress.go by golint

exported type Input should have comment or be unexported
Open

type Input interface {
Severity: Minor
Found in io.go by golint

exported method LuckyOutput.LuckyWriteAll should have comment or be unexported
Open

func (iox LuckyOutput) LuckyWriteAll(bs []byte) {
Severity: Minor
Found in io.go by golint

exported method LuckyWhole.LuckyWrite should have comment or be unexported
Open

func (lw LuckyWhole) LuckyWrite(b []byte) {
Severity: Minor
Found in io.go by golint

exported function Reader should have comment or be unexported
Open

func Reader(rd io.Reader, close ...func() error) reader {
Severity: Minor
Found in reader.go by golint

exported type AccessPoint should have comment or be unexported
Open

type AccessPoint struct {
Severity: Minor
Found in s3p/accesspoint.go by golint

exported func Writer returns unexported type iokit.writer, which can be annoying to use
Open

func Writer(wr io.Writer, close ...func(bool) error) writer {
Severity: Minor
Found in writer.go by golint

exported method Cache.Remove should have comment or be unexported
Open

func (c Cache) Remove() (err error) {
Severity: Minor
Found in cache.go by golint

if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary)
Open

    } else {
Severity: Minor
Found in decompress.go by golint

exported type Location should have comment or be unexported
Open

type Location struct {
Severity: Minor
Found in gcp/accesspoint.go by golint

exported method LuckyInputOutput.LuckyOpen should have comment or be unexported
Open

func (iox LuckyInputOutput) LuckyOpen() LuckyReader {
Severity: Minor
Found in io.go by golint

exported method LuckyInputOutput.WriteAll should have comment or be unexported
Open

func (iox LuckyInputOutput) WriteAll(bs []byte) error {
Severity: Minor
Found in io.go by golint

exported method VersionType.Major should have comment or be unexported
Open

func (v VersionType) Major() int {
Severity: Minor
Found in iokit.go by golint

exported method VersionType.Patch should have comment or be unexported
Open

func (v VersionType) Patch() int {
Severity: Minor
Found in iokit.go by golint

exported function Upload should have comment or be unexported
Open

func Upload(url string, rd io.Reader, metadata map[string]string) (err error) {
Severity: Minor
Found in s3p/url.go by golint

struct field Url should be URL
Open

    Url      string
Severity: Minor
Found in url.go by golint

exported type Metadata should have comment or be unexported
Open

type Metadata map[string]string
Severity: Minor
Found in url.go by golint

exported method GsUrl.Download should have comment or be unexported
Open

func (gsurl GsUrl) Download(wr io.Writer) error {
Severity: Minor
Found in urlgs.go by golint

type HttpUrl should be HTTPURL
Open

type HttpUrl string
Severity: Minor
Found in urlhttp.go by golint
Severity
Category
Status
Source
Language