template-gen generate file from give template and config file go generate has same function also use regexp to generate file and this tool can replace custom extension and use config file to do multiple files