Documentation ¶ Overview ¶ Package timezone contains a flower to setup the timezone Index ¶ Constants type Conf type Flower func (fl *Flower) Configure() error func (fl *Flower) Description() string func (fl *Flower) Embedded() []string func (fl *Flower) Init() error func (fl *Flower) Install() error func (fl *Flower) String() string type Inst Constants ¶ View Source const Name = "timezone" Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Conf ¶ type Conf struct{} type Flower ¶ type Flower struct { Inst Conf } func (*Flower) Configure ¶ func (fl *Flower) Configure() error func (*Flower) Description ¶ func (fl *Flower) Description() string func (*Flower) Embedded ¶ func (fl *Flower) Embedded() []string func (*Flower) Init ¶ func (fl *Flower) Init() error func (*Flower) Install ¶ func (fl *Flower) Install() error func (*Flower) String ¶ func (fl *Flower) String() string type Inst ¶ type Inst struct { // The timezone to set, in the same format as the TZ environment variable. // For example: "Europe/Zurich". // To list the valid timezones, see directory /usr/share/zoneinfo on a Unix // system. Timezone string } Source Files ¶ View all Source files timezone.go Click to show internal directories. Click to hide internal directories.