Getting a use of package without selector error
When you import a package like import “github.com/spf13/viper” the package name (which is viper in this case) will be available to you as a new identifier. You may use this identifier to construct qualified identifiers to refer to exported identifiers of the package (identifiers that start wtih an uppercase letter). The package name itself cannot … Read more