Help us shape the future of Go! Take the 2026 Go Developer Survey

core

package
v0.0.0-...-153ef73 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FlushAndSync

func FlushAndSync(opts *Options, dc *dict.Dictionary, sync bool)

同步变更到文件中,如果启用了自动部署Rime的功能则调用部署指令

func Start

func Start(opts *Options)

Types

type Options

type Options struct {
	RestartRimeCmd string   `yaml:"restart_rime_cmd"`
	UserPath       string   `yaml:"user_path"`
	DictPaths      []string `yaml:"dict_paths"`
	SyncOnChange   bool     `yaml:"sync_on_change"`
	Export         string   `yaml:"export"`
	ExportColumns  string   `yaml:"export_columns"`
	ExportWithSort bool     `yaml:"export_with_sort"`
}

func ParseOptions

func ParseOptions() (Options, string)

Jump to

Keyboard shortcuts

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