- Remove 'os' import from heromodels - Remove 'json' and 'x.json2' imports from openrpc - Remove 'console' import from openrpc - Remove unused imports in multiple modules
11 lines
201 B
V
11 lines
201 B
V
module openrpc
|
|
|
|
// path to openrpc.json file
|
|
pub fn new_handler(openrpc_path string) !Handler {
|
|
mut openrpc_handler := Handler{
|
|
specification: new(path: openrpc_path)!
|
|
}
|
|
|
|
return openrpc_handler
|
|
}
|