Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewService ¶
func NewService(ctx context.Context, opts ...option.ClientOption) (*photoslibrary.Service, error)
NewService creates a new Service.
This file contains NewService function which would be in newer generated code, but is missing in v0.3.2.
Types ¶
type DateFlag ¶
type DateFlag struct { flag.Value // interface photoslibrary.Date // value contained // contains filtered or unexported fields }
DateFlag implements flag.Value so that a flag containing a time can be parsed.
Value validation beyond what's done by time.Parse is minimal.
Format is expected to be YYYY-MM-DD.
func (*DateFlag) Set ¶
Set satisfies the flag.Value interface and parses the string value of the flag using time.Parse with value 2006-01-02. Passing an empty string means the flag has not been set.
Click to show internal directories.
Click to hide internal directories.