tag

package
v1.4.15 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTagCompliance

func GetTagCompliance(resource interface{}, opts *Options) ([]string, error)

GetTagCompliance performs struct tag compliance checks.

Types

type Options

type Options struct {
	Disabled           bool
	DisableTagPresent  bool
	DisableTagMismatch bool
	DisableTagOnEmpty  bool
}

Options stores compliance check options.

Jump to

Keyboard shortcuts

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