add variable and method comments
This commit is contained in:
@@ -2,11 +2,11 @@ package emgql
|
||||
|
||||
// Config provides configuration for connecting to the Equinix Metal API provider.
|
||||
type Config struct {
|
||||
|
||||
// BaseURL is the baseurl to use when connecting to the Equinix Metal API Provider.
|
||||
BaseURL string
|
||||
}
|
||||
|
||||
// Populated checks if any field has been populated.
|
||||
func (c Config) Populated() bool {
|
||||
return c.BaseURL != ""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user