tag

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 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