mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-12-01 02:17:50 +01:00
New lint rules
This commit is contained in:
85 files changed
+385
-259
No files matched your search
@@ -1,10 +1,11 @@
|
||||
package nginx
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"npm/internal/entity/host"
|
||||
"npm/internal/model"
|
||||
"npm/internal/test"
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
"go.uber.org/goleak"
|
||||
@@ -24,7 +25,7 @@ func TestGetHostFilename(t *testing.T) {
|
||||
{
|
||||
"test1",
|
||||
host.Model{
|
||||
ModelBase: model.ModelBase{
|
||||
Base: model.Base{
|
||||
ID: 10,
|
||||
},
|
||||
},
|
||||
@@ -34,7 +35,7 @@ func TestGetHostFilename(t *testing.T) {
|
||||
{
|
||||
"test2",
|
||||
host.Model{
|
||||
ModelBase: model.ModelBase{
|
||||
Base: model.Base{
|
||||
ID: 10,
|
||||
},
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user