Dagger
Search

golint

This module provides a function to lint Go code.

Installation

dagger install github.com/tsirysndr/daggerverse/golint@32fe197cc7b78a0cbf0defcb387ccc0421b7159d

Entrypoint

Return Type
Golint
Example
func (m *myModule) example() *Golint  {
	return dag.
			Golint()
}

Types

Golint 🔗

lint() 🔗

Lint Go code.

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-No description provided
pathString "."No description provided
Example
func (m *myModule) example(src *Directory) *Directory  {
	return dag.
			Golint().
			Lint(src)
}