Lint again

This commit is contained in:
unset 2024-04-26 15:06:06 -04:00
parent c3505f5e4f
commit 62361d942b
2 changed files with 5 additions and 5 deletions

View File

@ -2,11 +2,13 @@ package dpop
import ( import (
"crypto/ecdsa" "crypto/ecdsa"
"crypto/ed25519"
"crypto/rsa" "crypto/rsa"
"encoding/base64" "encoding/base64"
"fmt" "fmt"
"github.com/golang-jwt/jwt/v5"
"math/big" "math/big"
"github.com/golang-jwt/jwt/v5"
) )
/* /*
@ -32,9 +34,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. SOFTWARE.
*/ */
import (
"crypto/ed25519"
)
type ecdsaJWK struct { type ecdsaJWK struct {
X string `json:"x"` X string `json:"x"`

View File

@ -7,11 +7,12 @@ import (
"encoding/base64" "encoding/base64"
"errors" "errors"
"fmt" "fmt"
"gitlab.com/gitlab-org/cli/commands/auth/generate/dpop"
"log" "log"
"os" "os"
"time" "time"
"gitlab.com/gitlab-org/cli/commands/auth/generate/dpop"
"gitlab.com/gitlab-org/cli/commands/cmdutils" "gitlab.com/gitlab-org/cli/commands/cmdutils"
"gitlab.com/gitlab-org/cli/pkg/iostreams" "gitlab.com/gitlab-org/cli/pkg/iostreams"