Rename modules and introduce namespace-aware module name lookups

See #248.
This commit is contained in:
fox.cpp 2020-07-14 19:42:17 +03:00
parent 4ea9f1eef7
commit 03d9e52627
No known key found for this signature in database
GPG key ID: 5B991F6215D2FCC0
44 changed files with 184 additions and 123 deletions

View file

@ -46,5 +46,6 @@ func (s *Static) Lookup(key string) (string, bool, error) {
}
func init() {
module.Register("static", NewStatic)
module.RegisterDeprecated("static", "table.static", NewStatic)
module.Register("table.static", NewStatic)
}