Class GofmtFormatStep


  • public class GofmtFormatStep
    extends java.lang.Object
    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 Detail

      • name

        public static java.lang.String name()
      • defaultVersion

        public static java.lang.String defaultVersion()
      • withVersion

        public static GofmtFormatStep withVersion​(java.lang.String version)
      • withGoExecutable

        public GofmtFormatStep withGoExecutable​(java.lang.String pathToExe)