package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Aug 26, 2026
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Load 按 Switch 配置约定读取一个文件或环境目录,并反序列化到 target。
target 由调用方提供,configfile 只负责环境解析、文件发现和 YAML 解析,
不理解 FlowLink 的具体配置结构。
type Option func(*loadOptions)
Option 调整 FlowLink 文件配置加载行为。
WithDefaultEnv 设置 APP_ENV 为空时使用的默认环境。
WithFilePattern 设置目录模式下匹配的配置文件名。
Source Files
¶
Click to show internal directories.
Click to hide internal directories.