Documentation ¶
Index ¶
- Constants
- Variables
- func AddChannel(configs *radio.ClassTheRadioData, pos string, data [14]string) error
- func AskForDetail() (*[14]string, error)
- func BatchClear(configs *radio.ClassTheRadioData, chanClearRange []string) error
- func ClearChannel(configs *radio.ClassTheRadioData, chanNo string) error
- func ModifyChannel(configs *radio.ClassTheRadioData, pos string, modPos int, value string) error
- func RemoveAllEmpty(configs *radio.ClassTheRadioData)
- func ShowCopiedChannel()
Constants ¶
View Source
const (
SKIP_EMPTY_CHANNEL_COUNT = 3
)
Variables ¶
View Source
var ( Verbose = false Vverbose = false ReleaseDep = false PrintVersion = false DepPath = "" ConfigPath = "" )
View Source
var BaseCmd = &cobra.Command{ Use: "SHX8800_EDITOR", Short: "SHX8800_EDITOR", Long: `SHX8800_EDITOR - SHX8800 dat editor`, Run: func(cmd *cobra.Command, args []string) { if PrintVersion { printVer() return } logger.InitLog(Verbose, Vverbose) if ReleaseDep { err := filetools.ReleaseFile() if err != nil { slog.Fatalf("无法释放依赖!") _, _ = fmt.Scanln() return } slog.Info("释放成功!") return } mainRunner() }, }
Functions ¶
func AddChannel ¶
func AddChannel(configs *radio.ClassTheRadioData, pos string, data [14]string) error
func AskForDetail ¶
func BatchClear ¶
func BatchClear(configs *radio.ClassTheRadioData, chanClearRange []string) error
func ClearChannel ¶
func ClearChannel(configs *radio.ClassTheRadioData, chanNo string) error
func ModifyChannel ¶
func RemoveAllEmpty ¶
func RemoveAllEmpty(configs *radio.ClassTheRadioData)
func ShowCopiedChannel ¶
func ShowCopiedChannel()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.