Add schema et all.

This commit is contained in:
Kalle Carlbark 2019-09-11 11:09:09 +02:00
parent 45da04bec7
commit 45f1db6263
No known key found for this signature in database
GPG key ID: 3FC0C93C5A5A0670

View file

@ -7,7 +7,6 @@ import (
"fmt"
"github.com/gorilla/schema"
"github.com/pkg/errors"
"io/ioutil"
"net/http"
"net/url"
"time"
@ -96,12 +95,12 @@ type InterfaceFilter struct {
Mtu string `schema:"mtu"`
MgmtOnly string `schema:"mgmt_only"`
Mode string `schema:"mode"`
Description string `schema:description"`
Description string `schema:"description"`
Q string `schema:"q"`
Device string `schema:"device"`
DeviceId string `schema:"device_id"`
Cabled string `schema:cabled"`
Kind string `schema:Kind"`
Cabled string `schema:"cabled"`
Kind string `schema:"kind"`
LagId string `schema:"lag_id"`
MacAddress string `schema:"mac_address"`
Tag string `schema:"tag"`