cli/smartcontract: make smartContractTmpl a constant

As it can be a constant and should be a constant.
This commit is contained in:
Roman Khimov 2019-11-29 18:11:49 +03:00
parent dccf440dca
commit d8ef9ba0ec

View file

@ -33,7 +33,7 @@ var (
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.
// %s is parsed to be the smartContractName
smartContractTmpl = `package %s