distroutil

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustGetResPath

func MustGetResPath() string

MustGetResPath returns the default path that a distribution resource should be placed, which is the ${BinaryPath}/distro-res.

func MustLoadAndReplaceStrings

func MustLoadAndReplaceStrings()

MustLoadAndReplaceStrings loads the distro strings from ${BinaryPath}/distro-res/strings.json and replace the strings in the TiDB Dashboard. If the strings file does not exist, the default distro string will be used.

Types

This section is empty.

Jump to

Keyboard shortcuts

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