use-go-import
Go import metadata primitives for RustUse.
Experimental
use-go-import is experimental while use-go remains below 0.3.0.
Example
use ;
let path = new?;
let alias = new?;
let import = new.with_alias;
assert_eq!;
assert_eq!;
# Ok::
Scope
- Non-empty Go import paths.
- Import aliases such as
_,., and ordinary identifiers. - Lightweight import kind and group labels.
Non-goals
- Import resolution.
- Package loading.
- Contacting module registries or proxies.
- Parsing Go source files.
License
Licensed under either Apache-2.0 or MIT.