Dagger
Search

golangci-lint

No long description provided.

Installation

dagger install github.com/quartz-technology/daggerverse/golangci-lint@8812a090cd9096df1e4c3d1d9402b36b091304cb

Entrypoint

Return Type
GolangciLint
Example
dagger -m github.com/quartz-technology/daggerverse/golangci-lint@8812a090cd9096df1e4c3d1d9402b36b091304cb call \
func (m *myModule) example() *GolangciLint  {
	return dag.
			GolangciLint()
}
@function
def example() -> dag.GolangciLint:
	return (
		dag.golangci_lint()
	)
@func()
example(): GolangciLint {
	return dag
		.golangciLint()
}

Types

GolangciLint 🔗

config() 🔗

Return Type
File !
Example
dagger -m github.com/quartz-technology/daggerverse/golangci-lint@8812a090cd9096df1e4c3d1d9402b36b091304cb call \
 config
func (m *myModule) example()   {
	return dag.
			GolangciLint().
			Config()
}
@function
def example() -> :
	return (
		dag.golangci_lint()
		.config()
	)
@func()
example():  {
	return dag
		.golangciLint()
		.config()
}

withVersion() 🔗

WithVersion returns a Container configured to use golangci-lint.

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
versionStringKind !-No description provided
Example
dagger -m github.com/quartz-technology/daggerverse/golangci-lint@8812a090cd9096df1e4c3d1d9402b36b091304cb call \
 with-version
func (m *myModule) example(version )   {
	return dag.
			GolangciLint().
			WithVersion(version)
}
@function
def example(version: ) -> :
	return (
		dag.golangci_lint()
		.with_version(version)
	)
@func()
example(version: ):  {
	return dag
		.golangciLint()
		.withVersion(version)
}

withConfig() 🔗

Return Type
GolangciLint !
Arguments
NameTypeDefault ValueDescription
fileFile !-No description provided
Example
dagger -m github.com/quartz-technology/daggerverse/golangci-lint@8812a090cd9096df1e4c3d1d9402b36b091304cb call \
 with-config
func (m *myModule) example(file )   {
	return dag.
			GolangciLint().
			WithConfig(file)
}
@function
def example(file: ) -> :
	return (
		dag.golangci_lint()
		.with_config(file)
	)
@func()
example(file: ):  {
	return dag
		.golangciLint()
		.withConfig(file)
}

lint() 🔗

Return Type
StringKind !
Arguments
NameTypeDefault ValueDescription
directoryDirectory !-No description provided
Example
dagger -m github.com/quartz-technology/daggerverse/golangci-lint@8812a090cd9096df1e4c3d1d9402b36b091304cb call \
 lint
func (m *myModule) example(directory )   {
	return dag.
			GolangciLint().
			Lint(directory)
}
@function
def example(directory: ) -> :
	return (
		dag.golangci_lint()
		.lint(directory)
	)
@func()
example(directory: ):  {
	return dag
		.golangciLint()
		.lint(directory)
}