parser

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Project Project `yaml:"project"`
	// Feature     Feature  `yaml:"feature"`
	Entities    []string `yaml:"entities"`
	CustomLogic []string `yaml:"custom_logic"`
}

func ReadYAML

func ReadYAML(yamlPath string) (*Config, error)

type FeatureItem

type FeatureItem struct {
	Name string `yaml:"name"`
}

type Project

type Project struct {
	Name     string `yaml:"name"`
	Type     string `yaml:"type"`
	Port     int    `yaml:"port"`
	Location string `yaml:"location"`
	Database string `yaml:"db"`
	Router   string `yaml:"router"`
}

type ProjectYAML

type ProjectYAML struct {
	Name     string   `json:"name" yaml:"name"`
	Layers   []string `json:"layers" yaml:"layers"`
	Features []string `json:"features" yaml:"features"`
}

Jump to

Keyboard shortcuts

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