trans

package
v0.0.0-...-3519b65 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSelection

func GetSelection() string

获取选择的文字

func ShellTranslateStr

func ShellTranslateStr(str string) string

翻译文字 使用 translate-shell 进行翻译

Types

type TransResCallback

type TransResCallback func(result string, note string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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