refactor(api)!: mave tags and gotests api into their sub tables
This commit is contained in:
parent
ebb10e9b90
commit
28e1f5689f
2 changed files with 14 additions and 10 deletions
|
|
@ -9,12 +9,16 @@ gopher.impl = require("gopher.impl").impl
|
|||
gopher.iferr = require("gopher.iferr").iferr
|
||||
gopher.comment = require "gopher.comment"
|
||||
|
||||
gopher.tags_add = tags.add
|
||||
gopher.tags_rm = tags.remove
|
||||
gopher.tags = {
|
||||
add = tags.add,
|
||||
rm = tags.remove,
|
||||
}
|
||||
|
||||
gopher.test_add = tests.func_test
|
||||
gopher.test_exported = tests.all_exported_tests
|
||||
gopher.tests_all = tests.all_tests
|
||||
gopher.test = {
|
||||
add = tests.func_test,
|
||||
exported = tests.all_exported_tests,
|
||||
all = tests.all_tests,
|
||||
}
|
||||
|
||||
gopher.get = function(...)
|
||||
gocmd("get", { ... })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue