forked from TrueCloudLab/neoneo-go
cli/smartcontract: make smartContractTmpl a constant
As it can be a constant and should be a constant.
This commit is contained in:
parent
dccf440dca
commit
d8ef9ba0ec
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ var (
|
||||||
errFileExist = errors.New("A file with given smart-contract name already exists")
|
errFileExist = errors.New("A file with given smart-contract name already exists")
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
const (
|
||||||
// smartContractTmpl is written to a file when used with `init` command.
|
// smartContractTmpl is written to a file when used with `init` command.
|
||||||
// %s is parsed to be the smartContractName
|
// %s is parsed to be the smartContractName
|
||||||
smartContractTmpl = `package %s
|
smartContractTmpl = `package %s
|
||||||
|
|
Loading…
Reference in a new issue