Closed kevinburke closed 7 years ago
Ah, yes this doesn't work, because it assuming everything after the import is the path. Maybe need to do a split on the spaces and process that inferred name.
Just checked, and this allow effects empty imports.
I can fix this on the gophernotes side, but apparently the "quickfix" I'm using to deal with things like "imported and not used," doesn't play nice with named imports: https://github.com/gopherds/gophernotes/blob/master/vendor/github.com/motemen/go-quickfix/quickfix.go#L272
Will need to fix this in that package, or find another way to do the quickfix stuff.
Duplicate with https://github.com/gopherdata/gophernotes/issues/59. Closing in favor of that issue. Hopefully we can address this soon.
I tried this:
yields the following error when I try to use it: