services

package
v0.5.6 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClipboardService

func ClipboardService() application.Service

func ConfigService

func ConfigService() application.Service

func DialogsService

func DialogsService(app *application.App) application.Service

func ExamplesService

func ExamplesService() application.Service

func Json2GoService

func Json2GoService(app *application.App) application.Service

func VersionService

func VersionService() application.Service

Types

type Clipboard

type Clipboard struct{}

func (*Clipboard) Read

func (c *Clipboard) Read() string

func (*Clipboard) Write

func (c *Clipboard) Write(text string)

type Config

type Config struct{}

func (*Config) GetAllCapsWords

func (c *Config) GetAllCapsWords() []string

func (*Config) GetFontSize

func (c *Config) GetFontSize() float64

func (*Config) GetLocale

func (c *Config) GetLocale() string

func (*Config) GetOptionsGenerateInRealTime

func (c *Config) GetOptionsGenerateInRealTime() bool

func (*Config) GetOptionsValidJSONBeforeGeneration

func (c *Config) GetOptionsValidJSONBeforeGeneration() bool

func (*Config) SetAllCapsWords

func (c *Config) SetAllCapsWords(words []string)

func (*Config) SetFontSize

func (c *Config) SetFontSize(size float64)

func (*Config) SetLocale

func (c *Config) SetLocale(locale string)

func (*Config) SetOptionsGenerateInRealTime

func (c *Config) SetOptionsGenerateInRealTime(b bool)

func (*Config) SetOptionsValidJSONBeforeGeneration

func (c *Config) SetOptionsValidJSONBeforeGeneration(valid bool)

type Dialogs

type Dialogs struct {
	// contains filtered or unexported fields
}

func (*Dialogs) Dialog

func (dialogs *Dialogs) Dialog() *application.DialogManager

func (*Dialogs) OpenJSONFile

func (dialogs *Dialogs) OpenJSONFile() string

func (*Dialogs) SaveGoSourceFile

func (dialogs *Dialogs) SaveGoSourceFile(s string)

type Examples

type Examples struct{}

func (*Examples) All

func (e *Examples) All() []examples.Example

type JSON2Go

type JSON2Go struct {
	// contains filtered or unexported fields
}

func (*JSON2Go) Generate

func (j *JSON2Go) Generate(s string) string

type UpdateInfo

type UpdateInfo struct {
	CurrentVersion string `json:"currentVersion"`
	LatestVersion  string `json:"latestVersion"`
	HasUpdate      bool   `json:"hasUpdate"`
}

type Version

type Version struct{}

func (*Version) CheckForUpdate

func (v *Version) CheckForUpdate() UpdateInfo

func (*Version) GetLatestVersion

func (v *Version) GetLatestVersion() string

func (*Version) GetVersion

func (v *Version) GetVersion() string

Jump to

Keyboard shortcuts

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