Enable review linter with exported docs check (#1647)

Exported function and methods should have comments. This warns on undocumented exported functions and methods.
This commit is contained in:
Maycon Santos
2024-02-29 16:05:31 +01:00
committed by GitHub
parent 190698bcf2
commit 9a6814deff
5 changed files with 14 additions and 5 deletions

View File

@@ -8,7 +8,7 @@ import (
"golang.zx2c4.com/wireguard/tun/netstack"
)
type NetStackTun struct {
type NetStackTun struct { //nolint:revive
address string
mtu int
listenAddress string