Class: PreCommit::Checks::Go

Inherits:
Plugin
  • Object
show all
Defined in:
lib/plugins/pre_commit/checks/go.rb

Instance Attribute Summary

Attributes inherited from Plugin

#config, #pluginator

Class Method Summary collapse

Methods inherited from Plugin

#initialize, #name

Constructor Details

This class inherits a constructor from PreCommit::Checks::Plugin

Class Method Details

.descriptionObject



12
13
14
# File 'lib/plugins/pre_commit/checks/go.rb', line 12

def self.description
  "Plugins for Go code"
end

.includesObject



7
8
9
# File 'lib/plugins/pre_commit/checks/go.rb', line 7

def self.includes
  [:gobuild, :gofmt]
end