Package com.diffplug.spotless.go
Class GofmtFormatStep
java.lang.Object
com.diffplug.spotless.go.GofmtFormatStep
Note: gofmt doesn't have a version flag, because it's part of standard Go distribution.
So `go` executable can be used to determine base path and version, and path to gofmt can be built from it.
-
Method Summary
Modifier and TypeMethodDescriptioncreate()
static String
static String
name()
withGoExecutable
(String pathToExe) static GofmtFormatStep
withVersion
(String version)
-
Method Details
-
name
-
defaultVersion
-
withVersion
-
withGoExecutable
-
create
-