Skip to content

Commit

Permalink
Update: add package comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ifooth committed Sep 15, 2023
1 parent 2379fa8 commit a72afd6
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmd/dev-init/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// dev-init is a program ...
package main

import (
Expand Down
1 change: 1 addition & 0 deletions cmd/dev/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// dev is a program ...
package main

import (
Expand Down
1 change: 1 addition & 0 deletions pkg/filebrowser/handler.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package filebrowser ...
package filebrowser

import (
Expand Down
1 change: 1 addition & 0 deletions pkg/terminal/handler.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package terminal ...
package terminal

//go:generate go run ./gen/main.go
Expand Down
1 change: 1 addition & 0 deletions pkg/web/handler.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package web ...
package web

import (
Expand Down
9 changes: 9 additions & 0 deletions root/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ linters:
- unused

# custom
# - gci
- goconst
- gocyclo
- gofmt
Expand Down Expand Up @@ -46,6 +47,11 @@ linters-settings:
min-complexity: 30
# goimports:
# local-prefixes: github.com/ifooth/devcontainer
# gci:
# sections:
# - standard
# - default
# - prefix(github.com/ifooth/devcontainer)
gosec:
includes:
- G201 # SQL query construction using format string
Expand All @@ -67,3 +73,6 @@ linters-settings:
arguments:
- checkPrivateReceivers
- sayRepetitiveInsteadOfStutters
- name: package-comments
severity: warning
disabled: false

0 comments on commit a72afd6

Please sign in to comment.