Open
Description
Description
The Project
and Service
objects returned by this library often
confuse users because certain fields are not always initialized.
For example, CustomLabels
(a map[string]string
) will be nil
on each Service
.
Potential Solutions
- Add
NewProject
andNewService
constructors that initialize
all fields consistently - Add helper methods, e.g.
AddCustomLabel
that internally handle
initialization lazily
Activity