Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var InitLogger hclog.Logger = logger.HcLog().Named("init")
Functions ¶
func IsModFileExist ¶
func Run ¶
The `Run` function initializes a Go module, checks if a `go.mod` file exists, prompts the user to re-initialize the module if it does, deletes the `go.mod` and `go.sum` files if necessary, runs `go mod init` with the specified module name,for gets the raiden library from a repository, and finally runs `go mod tidy` to install dependencies.
Types ¶
type Flags ¶
type Flags struct {
Version string
}
The `Flags` type represents a set of command line flags, with a `Version` field for specifying the version of a raiden. @property {string} Version - The `Version` property is a string that represents the version of the Raiden software. It can be specified using a tag, branch, or commit number.
Click to show internal directories.
Click to hide internal directories.