Documentation
¶
Index ¶
- func ContractFromConfig(cfg *shared.Config, defaultStrictness shared.ContractType) (*shared.Contract, error)
- func GenerateContractCode(contract *shared.Contract) (string, error)
- func Json(conf *shared.Config) (string, error)
- func Toml(conf *shared.Config) (string, error)
- func Tycl(conf *shared.Config) (string, error)
- func Yaml(conf *shared.Config) (string, error)
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
GenerateContractCode генерирует TYCL-код контракта из структуры Contract.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.