Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CodeClimate ¶
type CodeClimate struct { }
func NewCodeClimate ¶
func NewCodeClimate() *CodeClimate
type CodeClimateIssue ¶
type CodeClimateIssue struct { Description string `json:"description"` Severity string `json:"severity,omitempty"` Fingerprint string `json:"fingerprint"` Location struct { Path string `json:"path"` Lines struct { Begin int `json:"begin"` } `json:"lines"` } `json:"location"` }
CodeClimateIssue is a subset of the Code Climate spec - https://github.com/codeclimate/spec/blob/master/SPEC.md#data-types It is just enough to support GitLab CI Code Quality - https://docs.gitlab.com/ee/user/project/merge_requests/code_quality.html
type Printer ¶
func NewGithub ¶
func NewGithub() Printer
Github output format outputs issues according to Github actions format: https://help.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-error-message
Click to show internal directories.
Click to hide internal directories.