generation

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContractFromConfig added in v1.1.0

func ContractFromConfig(cfg *shared.Config, defaultStrictness shared.ContractType) (*shared.Contract, error)

ContractFromConfig генерирует контракт из загруженного конфига. defaultStrictness — уровень строгости для вложенных объектов.

func GenerateContractCode added in v1.1.0

func GenerateContractCode(contract *shared.Contract) (string, error)

GenerateContractCode генерирует TYCL-код контракта из структуры Contract.

func Json

func Json(conf *shared.Config) (string, error)

func Toml

func Toml(conf *shared.Config) (string, error)

func Tycl

func Tycl(conf *shared.Config) (string, error)

func Yaml

func Yaml(conf *shared.Config) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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