config

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2026 License: MIT Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// WriteFormatYAML encodes YAML documents.
	WriteFormatYAML = internalconfig.WriteFormatYAML
	// WriteFormatJSON encodes JSON documents.
	WriteFormatJSON = internalconfig.WriteFormatJSON
)
View Source
const CurrentVersion = internalconfig.CurrentVersion

CurrentVersion defines the supported mergeway.yaml schema version.

View Source
const DefaultWriteTemplate = internalconfig.DefaultWriteTemplate

DefaultWriteTemplate describes the default file template.

Variables

Load reads the mergeway configuration and resolves includes.

Functions

This section is empty.

Types

type Config

type Config = internalconfig.Config

Config re-exports the internal configuration struct for external consumers.

type FieldDefinition

type FieldDefinition = internalconfig.FieldDefinition

FieldDefinition exposes field metadata for a type.

type IdentifierDefinition

type IdentifierDefinition = internalconfig.IdentifierDefinition

IdentifierDefinition exposes identifier metadata for a type.

type IncludeDefinition

type IncludeDefinition = internalconfig.IncludeDefinition

IncludeDefinition exposes include directives for a type.

type TypeDefinition

type TypeDefinition = internalconfig.TypeDefinition

TypeDefinition exposes entity type metadata.

type WriteDefaults

type WriteDefaults = internalconfig.WriteDefaults

WriteDefaults exposes global write descriptors.

type WriteDefinition

type WriteDefinition = internalconfig.WriteDefinition

WriteDefinition exposes per-type write configuration.

type WriteFormat

type WriteFormat = internalconfig.WriteFormat

WriteFormat enumerates supported output formats.

Jump to

Keyboard shortcuts

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