timezone

package
v0.3.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package timezone contains a flower to setup the timezone

Index

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL