feat: replace text/template with templ and refactor code

This commit is contained in:
rramiachraf 2024-03-04 14:59:47 +01:00
parent 5390a2878d
commit e2d5ef044b
43 changed files with 836 additions and 851 deletions

15
go.mod
View file

@ -1,20 +1,23 @@
module github.com/rramiachraf/dumb
go 1.18
go 1.21
toolchain go1.22.0
require (
github.com/PuerkitoBio/goquery v1.8.0
github.com/PuerkitoBio/goquery v1.8.1
github.com/a-h/templ v0.2.598
github.com/allegro/bigcache/v3 v3.0.2
github.com/caffix/cloudflare-roundtripper v0.0.0-20181218223503-4c29d231c9cb
github.com/gorilla/mux v1.8.0
github.com/sirupsen/logrus v1.9.3
)
require (
github.com/andybalholm/cascadia v1.3.1 // indirect
github.com/caffix/cloudflare-roundtripper v0.0.0-20181218223503-4c29d231c9cb // indirect
github.com/robertkrimen/otto v0.2.1 // indirect
golang.org/x/net v0.0.0-20210916014120-12bc252f5db8 // indirect
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f // indirect
golang.org/x/text v0.4.0 // indirect
golang.org/x/net v0.19.0 // indirect
golang.org/x/sys v0.15.0 // indirect
golang.org/x/text v0.14.0 // indirect
gopkg.in/sourcemap.v1 v1.0.5 // indirect
)