Refactoring (#327)

* chore: enable more linters and fix linter issues

* ci: enable linter checks on all branches and disable recurring checks

recurring linter checks don't make that much sense. The code & linter checks should not change on their own over night ;)

* chore: update packages

* Revert "chore: update packages"

This reverts commit 30250bf28c4b39e9e5b3af012a4e28ab036bf9af.

* chore: manually upgrade some packages
This commit is contained in:
Florian Ritterhoff
2023-03-07 01:49:06 +02:00
committed by GitHub
parent 1c4e1e55e4
commit 34344b1b35
22 changed files with 164 additions and 90 deletions
+2 -1
View File
@@ -1,8 +1,9 @@
package acmedns
import (
"github.com/google/uuid"
"net"
"github.com/google/uuid"
)
// Check if IP belongs to an allowed net
+1
View File
@@ -2,6 +2,7 @@ package acmedns
import (
"database/sql"
"github.com/google/uuid"
)
+2 -1
View File
@@ -2,9 +2,10 @@ package acmedns
import (
"crypto/rand"
"golang.org/x/crypto/bcrypt"
"math/big"
"regexp"
"golang.org/x/crypto/bcrypt"
)
func sanitizeIPv6addr(s string) string {
+4 -3
View File
@@ -1,12 +1,13 @@
package acmedns
import (
"go.uber.org/zap"
"go.uber.org/zap/zapcore"
"golang.org/x/crypto/bcrypt"
"os"
"syscall"
"testing"
"go.uber.org/zap"
"go.uber.org/zap/zapcore"
"golang.org/x/crypto/bcrypt"
)
func fakeConfig() AcmeDnsConfig {