HunterQ
1562e1ffb9
Config: Combine filename and format into a new struct ( #3687 )
3 months ago
nobody
ac628a9427
API: Improve MarshalToJson() in common/reflect/marshal.go ( #3655 )
...
* Serialize enum to string in MarshalToJson().
* MarshalToJson() respect json tags.
* Add insertTypeInfo parameter to MarshalToJson().
* Omit empty string in MarshalToJson().
* Serialize PortList to string in MarshalToJson().
---------
Co-authored-by: nobody <nobody@nowhere.mars>
4 months ago
yuhan6665
079d0bd8a9
Refactor log ( #3446 )
...
* Refactor log
* Add new log methods
* Fix logger test
* Change all logging code
* Clean up pathObj
* Rebase to latest main
* Remove invoking method name after the dot
5 months ago
nobody
44bb83033f
Add sub-command "-dump" to "run". ( #2854 )
...
* Add MarshalToJson().
* Add cmd arg -dump for printing out merged multiple json configs.
---------
Co-authored-by: nobody <nobody@nowhere.mars>
11 months ago
RPRX
ff5ce767df
Revert "add file soft link path resolve support ( #1482 )" ( #1495 )
...
This reverts commit eaf401eda9
.
2 years ago
Nanyu
eaf401eda9
add file soft link path resolve support ( #1482 )
...
* add file soft link path resolve
* add configuration file soft link path resolve support
2 years ago
世界
f046feb9ca
Reformat code
3 years ago
yuhan6665
e286cdcaa8
Style: format code by gofumpt ( #761 )
3 years ago
KallyDev
4abf98c1be
Move from deprecated ioutil to os and io packages ( #744 )
3 years ago
Arthur Morgan
ffc2f7c4e2
Style: format code
3 years ago
Monsoon
1b87264c53
Support loading config from different formats ( #228 )
4 years ago
秋のかえで
38ec9208d8
Change TOML package to github.com/pelletier/go-toml ( #119 )
4 years ago
RPRX
ffd8fd1d8a
Adjust JSON & TOML & YAML
4 years ago
Monsoon
85619b5a29
Add YAML Support ( #86 )
4 years ago
秋のかえで
f073456ac0
Add TOML Support ( #98 )
4 years ago
RPRX
16544c18ab
v1.1.0
4 years ago
RPRX
c7f7c08ead
v1.0.0
4 years ago