1
0
mirror of https://github.com/go-task/task.git synced 2025-11-23 22:24:45 +02:00

Add golangci-lint

https://golangci-lint.run/
This commit is contained in:
Andrey Nering
2022-05-14 21:00:15 -03:00
parent a1f9b584dc
commit 9e1d4e7855
13 changed files with 54 additions and 42 deletions

View File

@@ -16,13 +16,11 @@ import (
// ListTasksWithDesc reports tasks that have a description spec.
func (e *Executor) ListTasksWithDesc() {
e.printTasks(false)
return
}
// ListAllTasks reports all tasks, with or without a description spec.
func (e *Executor) ListAllTasks() {
e.printTasks(true)
return
}
func (e *Executor) printTasks(listAll bool) {