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>
2024-08-08 10:35:46 -04:00
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
2024-06-29 14:32:57 -04:00
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>
2023-12-29 11:16:48 -05:00
RPRX
ff5ce767df
Revert "add file soft link path resolve support ( #1482 )" ( #1495 )
...
This reverts commit eaf401eda9
.
2023-01-07 15:11:23 +00:00
Nanyu
eaf401eda9
add file soft link path resolve support ( #1482 )
...
* add file soft link path resolve
* add configuration file soft link path resolve support
2023-01-03 10:52:11 -05:00
yuhan6665
e286cdcaa8
Style: format code by gofumpt ( #761 )
2021-10-20 00:57:14 +08:00
Arthur Morgan
ffc2f7c4e2
Style: format code
2021-09-20 21:00:55 +08:00
Monsoon
1b87264c53
Support loading config from different formats ( #228 )
2021-02-12 14:12:58 +00:00