diff --git a/.golangci.yml b/.golangci.yml index 5e6a216..fdaee30 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -132,7 +132,6 @@ linters: - depguard - dogsled - dupl - - errcheck - funlen - gochecknoinits - goconst @@ -141,7 +140,6 @@ linters: - gofmt - goimports - golint - - gosec - gosimple - govet - ineffassign diff --git a/main.go b/main.go index 7b07a05..f1d398a 100644 --- a/main.go +++ b/main.go @@ -1,7 +1,7 @@ -// Copyright (c) 2020-2023 Cisco and/or its affiliates. -// // Copyright (c) 2021-2023 Doc.ai and/or its affiliates. // +// Copyright (c) 2020-2024 Cisco and/or its affiliates. +// // SPDX-License-Identifier: Apache-2.0 // // Licensed under the Apache License, Version 2.0 (the "License"); @@ -40,7 +40,7 @@ import ( func main() { go func() { - http.ListenAndServe("localhost:6060", nil) + _ = http.ListenAndServe("localhost:6060", nil) }() // Setup context to catch signals ctx, cancel := signal.NotifyContext(