Maintenance: remove some type aliases

This commit is contained in:
Quentin McGaw
2021-02-06 18:31:14 +00:00
parent 43e140e6cc
commit b1f1f94a76
32 changed files with 88 additions and 229 deletions

View File

@@ -6,7 +6,6 @@ import (
"github.com/golang/mock/gomock"
"github.com/qdm12/gluetun/internal/constants"
"github.com/qdm12/gluetun/internal/models"
"github.com/qdm12/golibs/params/mock_params"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
@@ -108,7 +107,7 @@ func Test_Provider_lines(t *testing.T) {
},
PortForwarding: PortForwarding{
Enabled: true,
Filepath: models.Filepath("/here"),
Filepath: string("/here"),
},
},
lines: []string{
@@ -207,7 +206,7 @@ func Test_readProtocol(t *testing.T) {
testCases := map[string]struct {
mockStr string
mockErr error
protocol models.NetworkProtocol
protocol string
err error
}{
"error": {