target

package
v1.5.8 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package target exposes yaml targets that can be imported in magefile using import syntax. When using this package the user has to set target.YamlFiles. For more low level usage the yamlfmt package should be preferred.

Index

Constants

This section is empty.

Variables

View Source
var YamlFiles = []string{}

Functions

This section is empty.

Types

type Yaml

type Yaml mg.Namespace

func (Yaml) Fmt

func (Yaml) Fmt(ctx context.Context) error

Fmt formats yaml files

func (Yaml) Lint

func (Yaml) Lint(ctx context.Context) error

Lint lints yaml files

Jump to

Keyboard shortcuts

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