sggolicenses

package
v0.280.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(ctx context.Context, disallowedTypes ...string) error

Check for disallowed types of Go licenses. By default, Google's forbidden and restricted types are disallowed.

func CheckDir added in v0.206.0

func CheckDir(ctx context.Context, directory string, disallowedTypes ...string) error

Check for disallowed types of Go licenses in a specific directory. By default, Google's forbidden and restricted types are disallowed.

func Command

func Command(ctx context.Context, args ...string) *exec.Cmd

func PrepareCommand

func PrepareCommand(ctx context.Context) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL