Commit b1d308a0 authored by Sietse Ringers's avatar Sietse Ringers
Browse files

feat: use github.com/go-errors/errors everywhere

parent 52457ddb
......@@ -5,14 +5,15 @@ import (
"crypto/rand"
"encoding/base64"
"encoding/binary"
"errors"
"time"
"github.com/dgrijalva/jwt-go"
"github.com/privacybydesign/gabi"
"github.com/privacybydesign/gabi/big"
"github.com/privacybydesign/gabi/gabikeys"
irma "github.com/privacybydesign/irmago"
"github.com/dgrijalva/jwt-go"
"github.com/go-errors/errors"
)
var (
......
......@@ -5,9 +5,10 @@ import (
"crypto/cipher"
"crypto/rand"
"encoding/binary"
"errors"
"github.com/privacybydesign/gabi/big"
"github.com/go-errors/errors"
)
type (
......
......@@ -4,7 +4,6 @@ import (
"bytes"
"context"
"encoding/json"
"errors"
"fmt"
"io/ioutil"
"net/http"
......@@ -20,6 +19,7 @@ import (
"github.com/privacybydesign/irmago/server"
"github.com/dgrijalva/jwt-go"
"github.com/go-errors/errors"
"github.com/stretchr/testify/require"
)
......
......@@ -2,7 +2,6 @@ package irmaclient
import (
"encoding/json"
"errors"
"io/ioutil"
"os"
"path/filepath"
......@@ -11,6 +10,8 @@ import (
"github.com/privacybydesign/gabi/revocation"
irma "github.com/privacybydesign/irmago"
"github.com/privacybydesign/irmago/internal/common"
"github.com/go-errors/errors"
)
// This file contains the legacy storage based on files. These functions are needed
......
......@@ -3,19 +3,20 @@ package irmaserver
import (
"context"
"encoding/json"
"errors"
"fmt"
"io/ioutil"
"net/http"
"strconv"
"time"
"github.com/go-chi/chi"
"github.com/privacybydesign/gabi"
"github.com/privacybydesign/gabi/signed"
irma "github.com/privacybydesign/irmago"
"github.com/privacybydesign/irmago/internal/common"
"github.com/privacybydesign/irmago/server"
"github.com/go-chi/chi"
"github.com/go-errors/errors"
"github.com/sirupsen/logrus"
)
......
package keyshareserver
import (
"errors"
"github.com/privacybydesign/irmago/internal/keysharecore"
"github.com/go-errors/errors"
)
var (
......
......@@ -3,11 +3,12 @@ package migrate
import (
"database/sql"
"encoding/binary"
"errors"
"io/ioutil"
"github.com/privacybydesign/irmago/internal/keysharecore"
"github.com/privacybydesign/irmago/server"
"github.com/go-errors/errors"
)
type Configuration struct {
......
package myirmaserver
import (
"errors"
"github.com/go-errors/errors"
)
var (
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment