~netlandish/links

d7ebd4e33e980eb863c19b1c0ff6d54bb436b856 — Peter Sanchez 2 months ago ff628fd
Using slices from Go 1.21
3 files changed, 3 insertions(+), 4 deletions(-)

M cmd/links/main.go
M helpers.go
M slack/commands.go
M cmd/links/main.go => cmd/links/main.go +1 -2
@@ 5,6 5,7 @@ import (
	"net/http"
	"net/url"
	"os"
	"slices"
	"strings"
	"text/template"
	"time"


@@ 26,8 27,6 @@ import (
	"github.com/alexedwards/scs/postgresstore"
	"github.com/alexedwards/scs/v2"

	"golang.org/x/exp/slices"

	work "git.sr.ht/~sircmpwn/dowork"
	"github.com/labstack/echo/v4"
	formguard "netlandish.com/x/gobwebs-formguard"

M helpers.go => helpers.go +1 -1
@@ 17,6 17,7 @@ import (
	"net/url"
	"path/filepath"
	"regexp"
	"slices"
	"strconv"
	"strings"
	"time"


@@ 27,7 28,6 @@ import (
	"github.com/labstack/echo/v4"
	"github.com/segmentio/ksuid"
	"github.com/shopspring/decimal"
	"golang.org/x/exp/slices"
	"golang.org/x/net/html"
	"golang.org/x/text/cases"
	"golang.org/x/text/language"

M slack/commands.go => slack/commands.go +1 -1
@@ 8,12 8,12 @@ import (
	"links/models"
	"net/http"
	"net/url"
	"slices"
	"strings"

	"git.sr.ht/~emersion/gqlclient"
	sq "github.com/Masterminds/squirrel"
	"github.com/labstack/echo/v4"
	"golang.org/x/exp/slices"
	"netlandish.com/x/gobwebs/auth"
	"netlandish.com/x/gobwebs/database"
	"netlandish.com/x/gobwebs/server"