mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 17:04:39 +03:00
webadmin: make routes configurable: globally, per domain, per account
this simplifies some of the code that makes modifications to the config file. a few protected functions can make changes to the dynamic config, which webadmin can use. instead of having separate functions in mox-/admin.go for each type of change. this also exports the parsed full dynamic config to webadmin, so we need fewer functions for specific config fields too.
This commit is contained in:
4
vendor/github.com/mjl-/sherpadoc/README.txt
generated
vendored
4
vendor/github.com/mjl-/sherpadoc/README.txt
generated
vendored
@ -17,8 +17,8 @@ MIT-licensed, see LICENSE.
|
||||
- major cleanup required. too much parsing is done that can probably be handled by the go/* packages.
|
||||
- check that all cases of embedding work (seems like we will include duplicates: when a struct has fields that override an embedded struct, we generate duplicate fields).
|
||||
- check that all cross-package referencing (ast.SelectorExpr) works
|
||||
- better cli syntax for replacements, and always replace based on fully qualified names. currently you need to specify both the fully qualified and unqualified type paths.
|
||||
- see if order of items in output depends on a map somewhere, i've seen diffs for generated jsons where a type was only moved, not modified.
|
||||
- better cli syntax for replacements and renames, and always replace based on fully qualified names. currently you need to specify both the fully qualified and unqualified type paths.
|
||||
- see if order of items in output depends on a map somewhere, i've seen diffs for generated jsons where a type was only moved, not modified. perhaps the type was discovered earlier/later because of other type changes. we may want to sort sections,methods,types in the output.
|
||||
- better error messages and error handling, stricter parsing
|
||||
- support type aliases
|
||||
- support plain iota enums? currently only simple literals are supported for enums.
|
||||
|
Reference in New Issue
Block a user