Pull request 1875: next-gocognit
Merge in DNS/adguard-home from next-gocognit to master Squashed commit of the following: commit 554458a63b44e71244b4364168e6e9903b880638 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Fri Jun 16 19:58:14 2023 +0300 all: add tool; typo commit 1b97f93811d1ea826762cfa43fef49ae43e06939 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Fri Jun 16 19:49:40 2023 +0300 all: add gocognit
This commit is contained in:
@@ -139,7 +139,7 @@ func New(c *Config) (svc *Service, err error) {
|
||||
return svc, nil
|
||||
}
|
||||
|
||||
// newMux returns a new HTTP request multiplexor for the AdGuard Home web
|
||||
// newMux returns a new HTTP request multiplexer for the AdGuard Home web
|
||||
// service.
|
||||
func newMux(svc *Service) (mux *httptreemux.ContextMux) {
|
||||
mux = httptreemux.NewContextMux()
|
||||
|
||||
Reference in New Issue
Block a user