octomation / go-module

🧩 Template for a typical module written on Go.

Home Page:https://go-module.octolab.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

deps: tools: add gomvpkg

kamilsk opened this issue · comments

Motivation: it allows to do refactoring.

$  gomvpkg -from <path>  -to <path>
//go:build tools

package tools

import (
	_ "golang.org/x/tools/cmd/gomvpkg"
)

//go:generate go install golang.org/x/tools/cmd/gomvpkg