@ -0,0 +1,52 @@ |
||||
root = "." |
||||
testdata_dir = "testdata" |
||||
tmp_dir = "tmp" |
||||
|
||||
[build] |
||||
args_bin = [] |
||||
bin = "webapp" |
||||
cmd = "make build" |
||||
delay = 1000 |
||||
exclude_dir = ["assets", "pages", "static", "views", "public", "tmp", "vendor", "testdata"] |
||||
exclude_file = [] |
||||
exclude_regex = ["_test.go"] |
||||
exclude_unchanged = false |
||||
follow_symlink = false |
||||
full_bin = "" |
||||
include_dir = [] |
||||
include_ext = ["go", "tpl", "tmpl", "html", "css", "js"] |
||||
include_file = [] |
||||
kill_delay = "0s" |
||||
log = "build-errors.log" |
||||
poll = false |
||||
poll_interval = 0 |
||||
post_cmd = [] |
||||
pre_cmd = [] |
||||
rerun = false |
||||
rerun_delay = 500 |
||||
send_interrupt = false |
||||
stop_on_error = false |
||||
|
||||
[color] |
||||
app = "" |
||||
build = "yellow" |
||||
main = "magenta" |
||||
runner = "green" |
||||
watcher = "cyan" |
||||
|
||||
[log] |
||||
main_only = false |
||||
silent = false |
||||
time = false |
||||
|
||||
[misc] |
||||
clean_on_exit = false |
||||
|
||||
[proxy] |
||||
app_port = 7001 |
||||
enabled = true |
||||
proxy_port = 7002 |
||||
|
||||
[screen] |
||||
clear_on_rebuild = false |
||||
keep_scroll = true |
@ -0,0 +1,33 @@ |
||||
# ---> Vim |
||||
# Swap |
||||
[._]*.s[a-v][a-z] |
||||
!*.svg # comment out if you don't need vector files |
||||
[._]*.sw[a-p] |
||||
[._]s[a-rt-v][a-z] |
||||
[._]ss[a-gi-z] |
||||
[._]sw[a-p] |
||||
|
||||
# Session |
||||
Session.vim |
||||
Sessionx.vim |
||||
|
||||
# Temporary |
||||
.netrwhist |
||||
*~ |
||||
# Auto-generated tag files |
||||
tags |
||||
# Persistent undo |
||||
[._]*.un~ |
||||
|
||||
backup |
||||
*.exe |
||||
*.dll |
||||
*.world |
||||
coverage |
||||
coverage/* |
||||
.venv |
||||
*.gz |
||||
config.toml |
||||
public |
||||
*.idx |
||||
*.sqlite3 |
@ -1,9 +1 @@ |
||||
MIT License |
||||
|
||||
Copyright (c) <year> <copyright holders> |
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: |
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. |
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 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 SOFTWARE. |
||||
It's Copyright. All Rights Reserved. You have no license at all other than permission to view it. |
||||
|
@ -0,0 +1,59 @@ |
||||
GO_IS_STUPID_EXE=
|
||||
|
||||
ifeq '$(OS)' 'Windows_NT' |
||||
GO_IS_STUPID_EXE=.exe
|
||||
endif |
||||
|
||||
all: tailwind site |
||||
echo "yay!"
|
||||
|
||||
build: |
||||
go build .
|
||||
|
||||
site: |
||||
go tool ssgod
|
||||
|
||||
site_watch: |
||||
go tool ssgod watch
|
||||
|
||||
test: site |
||||
go test . -c -o runtests$(GO_IS_STUPID_EXE)
|
||||
./runtests$(GO_IS_STUPID_EXE)
|
||||
|
||||
test_only: |
||||
go test . -c -o runtests$(GO_IS_STUPID_EXE)
|
||||
./runtests$(GO_IS_STUPID_EXE) -test.run TestGamePage
|
||||
|
||||
migrate_up: |
||||
go tool goose sqlite3 db.sqlite3 -dir migrations up
|
||||
|
||||
migrate_down: |
||||
go tool goose sqlite3 db.sqlite3 -dir migrations down
|
||||
|
||||
docs: |
||||
go tool pkgsite --open
|
||||
|
||||
tailwind: |
||||
tailwindcss --input ./static/input_style.css --output ./static/style.css
|
||||
|
||||
tailwind_watch: |
||||
tailwindcss --input ./static/input_style.css --output ./static/style.css --watch
|
||||
|
||||
tailwind_install: |
||||
curl -LO https://github.com/tailwindlabs/tailwindcss/releases/download/v4.1.12/tailwindcss-linux-x64
|
||||
chmod oug+x tailwindcss-linux-x64
|
||||
sudo mv tailwindcss-linux-x64 /usr/local/bin/tailwindcss
|
||||
|
||||
dev: all |
||||
go tool air -build.stop_on_error "true"
|
||||
|
||||
coverage: |
||||
go build -cover -o webapp
|
||||
mkdir -p .coverage
|
||||
echo "GOCOVERDIR=.coverage ./webapp"
|
||||
|
||||
cover_report: |
||||
go tool covdata textfmt -i=.coverage -o coverage.txt
|
||||
go tool cover -func=coverage.txt
|
||||
go tool cover -html=coverage.txt -o coverage.html
|
||||
open coverage.html
|
@ -1,3 +1,64 @@ |
||||
# go-web-starter-kit |
||||
# Go Web Starter Kit |
||||
|
||||
A small project that collects various nice things to get started with Go Web Development. |
||||
This is a learning projects for me to learn Go. It's a simple website that serves past stream |
||||
information, a place to post links during stream, and the games I've made while live streaming. |
||||
|
||||
## Getting godoc To Work |
||||
|
||||
There's a built-in command `go doc` but there's also a more advanced tool by Google called `godoc`. |
||||
I know, amazing naming. Anyway, to get it you do this: |
||||
|
||||
```shell |
||||
go get --tool go.googlesource.com/tools/godoc@latest |
||||
``` |
||||
|
||||
You can then run it and start indexing everything you've installed and _also_ yourprojects packages, |
||||
plus get a nice web browser based search page to view the docs: |
||||
|
||||
```shell |
||||
go tool godoc -http=localhost:6060 -index |
||||
``` |
||||
|
||||
> ___NOTE:___ Google doesn't know how the internet works so you have to use `localhost:PORT` and not `127.0.0.1:PORT` when you run this. |
||||
|
||||
After that it'll take some time to index everything but you can already start browsing the APIs you need, and your project's stuff is in the _Third Party_ section. |
||||
|
||||
## Dealing With Module Bullshit |
||||
|
||||
The way to think about Go's modules is that they don't have modules, they have "projects." Every |
||||
directory's .go files export all of their functions without any namespacing based on the file's |
||||
name. So if you put `FooBar` into `tools.go` and `Dipshit` in `fuckyou.go` then your namespace for |
||||
_all_ files has raw dogged `FooBar` and `Dipshit` without any reference to `tools` or `fuckyou`. |
||||
|
||||
That's because your root directory is a whole __project__, not a module. To then create a namespace |
||||
you have to make a directory, place the files in that directory, and add `package mymod` at the top |
||||
of those files. You then have to import this as if it's an __entire fucking project__ everywhere |
||||
you want to use it: |
||||
|
||||
```go |
||||
import 'mywholewebsite.com/rootproject/subproject' |
||||
``` |
||||
|
||||
In this case you have a directory `subproject` and in there are a bunch of .go files with `package subproject` at the top to indicate they are in that subproject. Thinking about Go's modules as separate projects helps to sort out this `import` statement. |
||||
|
||||
1. mkdir tools |
||||
2. Create files in tools/ with `package tools` |
||||
3. `import "zedshaw.games/webapp/tools"` to get the subdirectory |
||||
|
||||
## Why Did Go Do This? |
||||
|
||||
That's because it comes from Google, and Google is famous for two things: |
||||
|
||||
1. Using a monorepo. |
||||
2. Assuming everyone else uses a monorepo. |
||||
|
||||
Don't believe me? Go look at the official first document [covering modules](https://go.dev/doc/tutorial/create-module) and you'll see they create two _totally separate projects at the root which then link to each other_. That's not how anyone else thinks when they make a single project to work on, but if you're suffering in monorepo hell you'll do it this way. |
||||
|
||||
I'll also posit that Google has some weird incentive that measures numbers of projects in the |
||||
monorepo as some kind of metric for employee productivity, so everyone working there is motivated |
||||
to get as many little projects into the monorepo as possible, thus a great way to get them to adopt |
||||
Go is to make Go support pulling tons of random projects from the root of a monorepo. |
||||
|
||||
So that's why you have to put your whole entire domain name into the import, and why you have all |
||||
the functions just raw dogged into your face when you make multiple files, and why subdirectories |
||||
are treated like whole little projects. |
||||
|
@ -0,0 +1,141 @@ |
||||
package admin |
||||
|
||||
import ( |
||||
"reflect" |
||||
"fmt" |
||||
"zedshaw.games/webapp/data" |
||||
_ "github.com/mattn/go-sqlite3" |
||||
sq "github.com/Masterminds/squirrel" |
||||
) |
||||
|
||||
func SearchTable(search string, table string, the_type reflect.Type, limit uint64, page uint64) ([]any, error) { |
||||
|
||||
var results []any |
||||
like := fmt.Sprint("%", search, "%") |
||||
|
||||
builder := sq.Select("*"). |
||||
Limit(limit). |
||||
Offset(limit * page). |
||||
From(table) |
||||
|
||||
field_num := the_type.NumField() |
||||
var or_clause sq.Or |
||||
|
||||
for i := 0; i < field_num; i++ { |
||||
tag := the_type.Field(i).Tag.Get("db") |
||||
or_clause = append(or_clause, sq.Like{tag: like}) |
||||
} |
||||
|
||||
builder = builder.Where(or_clause) |
||||
sql_query, args, err := builder.ToSql() |
||||
fmt.Println("-------------- SQL QUERY:", sql_query); |
||||
|
||||
if err != nil { return results, err } |
||||
|
||||
// BUG: refactor this to share a common func with SelectTable
|
||||
rows, err := data.DB.Queryx(sql_query, args...) |
||||
if err != nil { return results, err } |
||||
defer rows.Close() |
||||
|
||||
for rows.Next() { |
||||
the_data := reflect.New(the_type).Interface() |
||||
err = rows.StructScan(the_data) |
||||
if err != nil { return results, err } |
||||
|
||||
results = append(results, the_data) |
||||
} |
||||
|
||||
return results, rows.Err() |
||||
} |
||||
|
||||
func SelectTable(table string, the_type reflect.Type, limit uint64, page uint64) ([]any, error) { |
||||
var results []any |
||||
sql_query, args, err := sq.Select("*").Limit(limit).Offset(limit * page).From(table).ToSql() |
||||
if err != nil { return results, err } |
||||
|
||||
rows, err := data.DB.Queryx(sql_query, args...) |
||||
if err != nil { return results, err } |
||||
defer rows.Close() |
||||
|
||||
for rows.Next() { |
||||
the_data := reflect.New(the_type).Interface() |
||||
err = rows.StructScan(the_data) |
||||
if err != nil { return results, err } |
||||
|
||||
results = append(results, the_data) |
||||
} |
||||
|
||||
return results, rows.Err() |
||||
} |
||||
|
||||
func Get(table string, the_type reflect.Type, id int64) (reflect.Value, error) { |
||||
sql_query, args, err := sq.Select("*").From(table).Where(sq.Eq{"id": id}).ToSql() |
||||
if err != nil { return reflect.New(nil), err } |
||||
|
||||
the_data := reflect.New(the_type) |
||||
err = data.DB.Get(the_data.Interface(), sql_query, args...) |
||||
|
||||
// BUG: not sure if Elem or returning the reflect.New is better
|
||||
return the_data.Elem(), err |
||||
} |
||||
|
||||
func Delete(table string, id int64) error { |
||||
sql_query, args, err := sq.Delete(table).Where(sq.Eq{"id": id}).ToSql() |
||||
if err != nil { return err } |
||||
|
||||
_, err = data.DB.Exec(sql_query, args...) |
||||
return err |
||||
} |
||||
|
||||
func Insert(table string, value reflect.Value) (int64, int64, error) { |
||||
type_of := value.Type() |
||||
field_num := value.NumField() |
||||
var columns []string |
||||
var values []any |
||||
|
||||
for i := 0; i < field_num; i++ { |
||||
field := value.Field(i) |
||||
tag := type_of.Field(i).Tag.Get("db") |
||||
if tag == "id" { continue } |
||||
columns = append(columns, tag) |
||||
values = append(values, field.Interface()) |
||||
} |
||||
|
||||
builder := sq.Insert(table).Columns(columns...).Values(values...) |
||||
sql_query, args, err := builder.ToSql() |
||||
|
||||
result, err := data.DB.Exec(sql_query, args...) |
||||
id, err := result.LastInsertId() |
||||
if err != nil { return -1, -1, err } |
||||
|
||||
count, err := result.RowsAffected() |
||||
if err != nil { return id, -1, err } |
||||
|
||||
return id, count, err |
||||
} |
||||
|
||||
func Update(table string, value reflect.Value) error { |
||||
builder := sq.Update(table) |
||||
|
||||
type_of := value.Type() |
||||
field_num := value.NumField() |
||||
|
||||
for i := 0; i < field_num; i++ { |
||||
field := value.Field(i) |
||||
tag := type_of.Field(i).Tag.Get("db") |
||||
|
||||
// skip update of id to avoid replacing it
|
||||
if tag == "id" { continue } |
||||
|
||||
builder = builder.Set(tag, field.Interface()) |
||||
} |
||||
|
||||
builder = builder.Where(sq.Eq{"id": value.FieldByName("Id").Interface()}) |
||||
sql_query, args, err := builder.ToSql() |
||||
|
||||
fmt.Println("UPDATE QUERY", sql_query, args) |
||||
if err != nil { return err} |
||||
|
||||
_, err = data.DB.Exec(sql_query, args...) |
||||
return err |
||||
} |
@ -0,0 +1,172 @@ |
||||
package admin |
||||
|
||||
import ( |
||||
"maps" |
||||
"reflect" |
||||
"fmt" |
||||
"github.com/gofiber/fiber/v2" |
||||
"zedshaw.games/webapp/data" |
||||
"zedshaw.games/webapp/api" |
||||
. "zedshaw.games/webapp/common" |
||||
) |
||||
|
||||
func GetApiTableIndex(c *fiber.Ctx) error { |
||||
_, err := api.CheckAuthed(c, true) |
||||
if err != nil { return c.Redirect("/") } |
||||
|
||||
var tables []string |
||||
|
||||
for k := range maps.Keys(data.Models()) { |
||||
tables = append(tables, k) |
||||
} |
||||
|
||||
return c.JSON(tables) |
||||
} |
||||
|
||||
func GetApiSelectAll(c *fiber.Ctx) error { |
||||
_, err := api.CheckAuthed(c, true) |
||||
if err != nil { return c.Redirect("/") } |
||||
|
||||
table := c.Params("table") |
||||
if table == "" { return c.Redirect("/admin/table/") } |
||||
type_is := data.Models()[table] |
||||
|
||||
page := c.QueryInt("page", 0) |
||||
if page < 0 { page = 0 } |
||||
|
||||
search := c.Query("search", "") |
||||
var result []any |
||||
|
||||
if search == "" { |
||||
result, err = SelectTable(table, type_is, 20, uint64(page)); |
||||
if err != nil { return IfErrNil(err, c) } |
||||
} else { |
||||
// NOTE: need a 404 here when there's no result? or empty list?
|
||||
result, err = SearchTable(search, table, type_is, 20, uint64(page)); |
||||
if err != nil { return IfErrNil(err, c) } |
||||
} |
||||
|
||||
return c.JSON(result) |
||||
} |
||||
|
||||
func GetPageSelectAll(c *fiber.Ctx) error { |
||||
_, err := api.CheckAuthed(c, true) |
||||
if err != nil { return c.Redirect("/") } |
||||
|
||||
return c.Render("admin/table/contents", fiber.Map{"Table": c.Params("table")}) |
||||
} |
||||
|
||||
func GetApiSelectOne(c *fiber.Ctx) error { |
||||
_, err := api.CheckAuthed(c, true) |
||||
if err != nil { return c.Redirect("/") } |
||||
|
||||
table := c.Params("table") |
||||
id, err := c.ParamsInt("id", -1) |
||||
if err != nil || id < 0 { return IfErrNil(err, c) } |
||||
|
||||
type_is := data.Models()[table] |
||||
|
||||
result, err := Get(table, type_is, int64(id)) |
||||
if err != nil { return IfErrNil(err, c) } |
||||
|
||||
return c.JSON(result.Interface()) |
||||
} |
||||
|
||||
func GetPageSelectOne(c *fiber.Ctx) error { |
||||
_, err := api.CheckAuthed(c, true) |
||||
if err != nil { return c.Redirect("/") } |
||||
|
||||
table := c.Params("table") |
||||
id, err := c.ParamsInt("id", -1) |
||||
if err != nil || id < 0 { return IfErrNil(err, c) } |
||||
|
||||
return c.Render("admin/table/view", fiber.Map{ |
||||
"Table": table, |
||||
"Id": id, |
||||
}) |
||||
} |
||||
|
||||
func PostApiUpdate(c *fiber.Ctx) error { |
||||
_, err := api.CheckAuthed(c, true) |
||||
if err != nil { return c.Redirect("/") } |
||||
|
||||
table := c.Params("table") |
||||
typeOf := data.Models()[table] |
||||
obj, err := ReflectOnPost(typeOf, c) |
||||
if err != nil { return IfErrNil(err, c) } |
||||
|
||||
err = Update(table, obj.Elem()) |
||||
if err != nil { return IfErrNil(err, c) } |
||||
|
||||
return c.RedirectBack("/admin/table/", 303) |
||||
} |
||||
|
||||
func GetPageInsert(c *fiber.Ctx) error { |
||||
_, err := api.CheckAuthed(c, true) |
||||
if err != nil { return c.Redirect("/") } |
||||
|
||||
table := c.Params("table") |
||||
return c.Render("admin/table/new", fiber.Map{ "Table": table }) |
||||
} |
||||
|
||||
func GetApiInsert(c *fiber.Ctx) error { |
||||
_, err := api.CheckAuthed(c, true) |
||||
if err != nil { return c.Redirect("/") } |
||||
|
||||
table := c.Params("table") |
||||
typeOf := data.Models()[table] |
||||
result := reflect.New(typeOf) |
||||
return c.JSON(result.Interface()) |
||||
} |
||||
|
||||
func PostApiInsert(c *fiber.Ctx) error { |
||||
_, err := api.CheckAuthed(c, true) |
||||
if err != nil { return c.Redirect("/") } |
||||
|
||||
table := c.Params("table") |
||||
|
||||
typeOf := data.Models()[table] |
||||
obj, err := ReflectOnPost(typeOf, c) |
||||
if err != nil { return IfErrNil(err, c) } |
||||
|
||||
id, _, err := Insert(table, obj.Elem()) |
||||
if err != nil { return IfErrNil(err, c) } |
||||
|
||||
return c.Redirect(fmt.Sprintf("/admin/table/%s/%d/", table, id), 303) |
||||
} |
||||
|
||||
func DeleteApi(c *fiber.Ctx) error { |
||||
_, err := api.CheckAuthed(c, true) |
||||
if err != nil { return c.Redirect("/") } |
||||
|
||||
table := c.Params("table") |
||||
|
||||
id, err := c.ParamsInt("id", -1) |
||||
if err != nil || id < 0 { return IfErrNil(err, c) } |
||||
|
||||
err = Delete(table, int64(id)) |
||||
if err != nil { return IfErrNil(err, c) } |
||||
|
||||
return c.JSON(fiber.Map{}) |
||||
} |
||||
|
||||
func GetPageAdminIndex(c *fiber.Ctx) error { |
||||
_, err := api.CheckAuthed(c, true) |
||||
if err != nil { return c.Redirect("/") } |
||||
|
||||
return c.Render("admin/table/index", fiber.Map{}) |
||||
} |
||||
|
||||
func Setup(app *fiber.App) { |
||||
app.Get("/admin/table/", GetPageAdminIndex) |
||||
app.Get("/admin/table/:table/", GetPageSelectAll) |
||||
app.Get("/admin/new/table/:table/", GetPageInsert) |
||||
app.Get("/admin/table/:table/:id/", GetPageSelectOne) |
||||
|
||||
app.Get("/api/admin/table", GetApiTableIndex) |
||||
app.Get("/api/admin/table/:table", GetApiSelectAll) |
||||
app.Get("/api/admin/new/table/:table", GetApiInsert) |
||||
app.Post("/api/admin/new/table/:table", PostApiInsert) |
||||
app.Get("/api/admin/table/:table/:id", GetApiSelectOne) |
||||
app.Post("/api/admin/table/:table/:id", PostApiUpdate) |
||||
} |
@ -0,0 +1,75 @@ |
||||
package api |
||||
|
||||
import ( |
||||
"errors" |
||||
"golang.org/x/crypto/bcrypt" |
||||
"log" |
||||
|
||||
"github.com/gofiber/fiber/v2" |
||||
_ "github.com/mattn/go-sqlite3" |
||||
sq "github.com/Masterminds/squirrel" |
||||
"github.com/gofiber/fiber/v2/middleware/session" |
||||
|
||||
"zedshaw.games/webapp/data" |
||||
"zedshaw.games/webapp/config" |
||||
) |
||||
|
||||
func IsAdmin(user *data.User) bool { |
||||
return user.Username == config.Settings.Admin |
||||
} |
||||
|
||||
func CheckAuthed(c *fiber.Ctx, needs_admin bool) (*session.Session, error) { |
||||
sess, err := STORE.Get(c) |
||||
if err != nil { return sess, err } |
||||
|
||||
// BUG: this has to come from the databse, just temporary
|
||||
admin := sess.Get("admin") == true |
||||
authed := sess.Get("authenticated") == true |
||||
|
||||
log.Printf("session admin=%v, session authed=%v, needs_admin = %v", admin, authed, needs_admin) |
||||
|
||||
if needs_admin { |
||||
authed = admin && authed |
||||
log.Printf("after needs_admin block: authed=%v", authed) |
||||
} |
||||
|
||||
if authed { |
||||
log.Println("user is authed, return nil and sess") |
||||
return sess, nil |
||||
} else { |
||||
log.Println("user is NOT authed, return error") |
||||
return sess, errors.New("Authentication, permission failure") |
||||
} |
||||
} |
||||
|
||||
func LogoutUser(c *fiber.Ctx) error { |
||||
sess, err := STORE.Get(c) |
||||
if err != nil { return err } |
||||
|
||||
sess.Set("authenticated", false) |
||||
err = sess.Save() |
||||
return err |
||||
} |
||||
|
||||
func LoginUser(result *data.User, login *data.Login) (bool, error) { |
||||
sql, args, err := sq.Select("username, password"). |
||||
From("user").Where("username=?", login.Username).ToSql() |
||||
|
||||
if err != nil { return false, err } |
||||
|
||||
err = data.DB.Get(result, sql, args...) |
||||
if err != nil { return false, err } |
||||
|
||||
pass_good := bcrypt.CompareHashAndPassword([]byte(result.Password), []byte(login.Password)) |
||||
if pass_good != nil { return false, pass_good } |
||||
|
||||
return login.Username == result.Username && pass_good == nil, nil |
||||
} |
||||
|
||||
func SetUserPassword(user *data.User) error { |
||||
hashed, err := bcrypt.GenerateFromPassword([]byte(user.Password), 12) |
||||
if err != nil { return err } |
||||
|
||||
user.Password = string(hashed) |
||||
return nil |
||||
} |
@ -0,0 +1,83 @@ |
||||
package api |
||||
|
||||
import ( |
||||
"log" |
||||
"time" |
||||
|
||||
"github.com/gofiber/fiber/v2" |
||||
_ "github.com/mattn/go-sqlite3" |
||||
sq "github.com/Masterminds/squirrel" |
||||
"github.com/gofiber/fiber/v2/middleware/session" |
||||
|
||||
"zedshaw.games/webapp/data" |
||||
. "zedshaw.games/webapp/common" |
||||
) |
||||
|
||||
var STORE *session.Store |
||||
|
||||
|
||||
func GetApiLogout(c *fiber.Ctx) error { |
||||
err := LogoutUser(c) |
||||
if err != nil { return IfErrNil(err, c) } |
||||
|
||||
return c.Redirect("/") |
||||
} |
||||
|
||||
func PostApiRegister(c *fiber.Ctx) error { |
||||
user, err := ReceivePost[data.User](c) |
||||
if err != nil { return IfErrNil(err, c) } |
||||
|
||||
err = SetUserPassword(user) |
||||
if err != nil { return IfErrNil(err, c) } |
||||
|
||||
sql, args, err := sq.Insert("user"). |
||||
Columns("username", "email", "password"). |
||||
Values(user.Username, user.Email, user.Password).ToSql() |
||||
|
||||
err = data.Exec(err, sql, args...) |
||||
if err != nil { return IfErrNil(err, c) } |
||||
|
||||
return c.Redirect("/login/") |
||||
} |
||||
|
||||
func PostApiLogin(c *fiber.Ctx) error { |
||||
var user data.User |
||||
|
||||
login, err := ReceivePost[data.Login](c) |
||||
if(err != nil) { return IfErrNil(err, c) } |
||||
|
||||
pass_good, err := LoginUser(&user, login) |
||||
if err != nil { return IfErrNil(err, c) } |
||||
|
||||
if pass_good { |
||||
sess, err := STORE.Get(c) |
||||
if err != nil { return IfErrNil(err, c) } |
||||
|
||||
// BUG: THIS IS A BIG NO NO, just for getting going
|
||||
sess.Set("authenticated", true) |
||||
sess.Set("admin", IsAdmin(&user)) |
||||
err = sess.Save() |
||||
if err != nil { return IfErrNil(err, c) } |
||||
|
||||
return c.Redirect("/") |
||||
} else { |
||||
return c.Redirect("/login/") |
||||
} |
||||
} |
||||
|
||||
func Setup(app *fiber.App) { |
||||
STORE = session.New() |
||||
|
||||
app.Static("/", "./public", fiber.Static{ |
||||
Compress: false, |
||||
CacheDuration: 1 * time.Nanosecond, |
||||
}) |
||||
|
||||
app.Get("/api/logout", GetApiLogout) |
||||
app.Post("/api/login", PostApiLogin) |
||||
app.Post("/api/register", PostApiRegister) |
||||
} |
||||
|
||||
func Shutdown() { |
||||
log.Println("Shutting down controllers...") |
||||
} |
@ -0,0 +1,66 @@ |
||||
package common |
||||
|
||||
import ( |
||||
"log" |
||||
"reflect" |
||||
"github.com/gofiber/fiber/v2" |
||||
"github.com/go-playground/validator/v10" |
||||
) |
||||
|
||||
type Failure struct { |
||||
Message string `json:"message"` |
||||
} |
||||
|
||||
func IfErrNil(err error, c *fiber.Ctx) error { |
||||
if err != nil { |
||||
log.Output(10, err.Error()) |
||||
c.SendStatus(fiber.StatusInternalServerError) |
||||
return c.JSON(Failure{err.Error()}) |
||||
} |
||||
|
||||
return err |
||||
} |
||||
|
||||
func ReceivePost[T any](c *fiber.Ctx) (*T, error) { |
||||
var result *T |
||||
result = new(T) |
||||
|
||||
if err := c.BodyParser(result); err != nil { |
||||
log.Println(err); |
||||
return result, err |
||||
} |
||||
|
||||
var validate *validator.Validate |
||||
validate = validator.New(validator.WithRequiredStructEnabled()) |
||||
|
||||
if err := validate.Struct(result); err != nil { |
||||
validationErrors := err.(validator.ValidationErrors) |
||||
log.Println(validationErrors) |
||||
return result, err |
||||
} |
||||
|
||||
return result, nil |
||||
} |
||||
|
||||
func ReflectOnPost(typeOf reflect.Type, c *fiber.Ctx) (reflect.Value, error) { |
||||
var result_val reflect.Value |
||||
|
||||
result_val = reflect.New(typeOf) |
||||
result := result_val.Interface() |
||||
|
||||
if err := c.BodyParser(result); err != nil { |
||||
log.Println(err); |
||||
return result_val, err |
||||
} |
||||
|
||||
var validate *validator.Validate |
||||
validate = validator.New(validator.WithRequiredStructEnabled()) |
||||
|
||||
if err := validate.Struct(result); err != nil { |
||||
validationErrors := err.(validator.ValidationErrors) |
||||
log.Println(validationErrors) |
||||
return result_val, err |
||||
} |
||||
|
||||
return result_val, nil |
||||
} |
@ -0,0 +1,12 @@ |
||||
package common |
||||
|
||||
import ( |
||||
"log" |
||||
"fmt" |
||||
) |
||||
|
||||
func Fail(err error, format string, v ...any) error { |
||||
err_format := fmt.Sprintf("ERROR: %v; %s", err, format) |
||||
log.Printf(err_format, v...) |
||||
return err |
||||
} |
@ -0,0 +1,70 @@ |
||||
package common |
||||
|
||||
import ( |
||||
"log" |
||||
"strings" |
||||
"io/fs" |
||||
"path/filepath" |
||||
"os" |
||||
"github.com/gofiber/fiber/v2" |
||||
"github.com/gofiber/template/html/v2" |
||||
) |
||||
|
||||
func Page(path string) (func(c *fiber.Ctx) error) { |
||||
return func (c *fiber.Ctx) error { |
||||
return c.Render(path, fiber.Map{}) |
||||
} |
||||
} |
||||
|
||||
func RenderPages(pages_path string, target string, layout string) { |
||||
engine := html.New(pages_path, ".html") |
||||
engine.Load() |
||||
|
||||
err := filepath.WalkDir(pages_path, |
||||
func(path string, d fs.DirEntry, err error) error { |
||||
if !d.IsDir() { |
||||
if err != nil { return Fail(err, "path: %s", path); } |
||||
|
||||
dir := filepath.Dir(path) |
||||
err = os.MkdirAll(dir, 0750) |
||||
if err != nil { |
||||
return Fail(err, "making dir %s", dir); |
||||
} |
||||
|
||||
split_path := strings.Split(path, string(os.PathSeparator))[1:] |
||||
source_name := strings.Join(split_path, "/") // Render wants / even on windows
|
||||
ext := filepath.Ext(source_name) |
||||
template_name, found := strings.CutSuffix(source_name, ext) |
||||
|
||||
if found && ext == ".html" && template_name != layout { |
||||
prefixed_path := append([]string{target}, split_path...) |
||||
|
||||
target_path := filepath.Join(prefixed_path...) |
||||
_, err := os.Stat(target_path) |
||||
|
||||
if os.IsNotExist(err) { |
||||
target_dir := filepath.Dir(target_path) |
||||
log.Println("MAKING: ", target_dir) |
||||
os.MkdirAll(target_dir, 0750) |
||||
} |
||||
|
||||
// TODO: compare time stamps and skip if not newer
|
||||
|
||||
out, err := os.OpenFile(target_path, os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0644) |
||||
if err != nil { return Fail(err, "writing file %s", target_path) } |
||||
|
||||
// generate a data-testid for all pages based on template name
|
||||
page_id := strings.ReplaceAll(template_name, "/", "-") + "-page" |
||||
err = engine.Render(out, template_name, fiber.Map{"PageId": page_id}, layout) |
||||
if err != nil { return Fail(err, "failed to render %s", path) } |
||||
|
||||
log.Printf("RENDER: %s -> %s", template_name, target_path) |
||||
out.Close() |
||||
} |
||||
} |
||||
|
||||
return nil |
||||
}) |
||||
|
||||
if err != nil { log.Fatalf("can't walk content") } |
||||
} |
@ -0,0 +1,36 @@ |
||||
package config |
||||
|
||||
|
||||
import ( |
||||
"log" |
||||
|
||||
"github.com/BurntSushi/toml" |
||||
) |
||||
|
||||
type config struct { |
||||
Admin string `toml:"admin"` |
||||
Views string `toml:"views"` |
||||
Layouts string `toml:"layouts"` |
||||
Port string `toml:"port"` |
||||
|
||||
Database struct { |
||||
Driver string `toml:"driver"` |
||||
Url string `toml:"url"` |
||||
} `toml:"database"` |
||||
} |
||||
|
||||
var Settings config |
||||
|
||||
func Load(path string) { |
||||
metadata, err := toml.DecodeFile(path, &Settings) |
||||
|
||||
if err != nil { |
||||
log.Fatalf("error loading config.toml: %v", err) |
||||
} |
||||
|
||||
bad_keys := metadata.Undecoded() |
||||
|
||||
if len(bad_keys) > 0 { |
||||
log.Fatalf("unknown configuration keys: %v", bad_keys); |
||||
} |
||||
} |
@ -0,0 +1,9 @@ |
||||
admin = "zedshaw" |
||||
views = "./views" |
||||
layouts = "layouts/main" |
||||
port = ":7001" |
||||
|
||||
|
||||
[database] |
||||
driver = "sqlite3" |
||||
url = "db.sqlite3" |
@ -0,0 +1,57 @@ |
||||
package data |
||||
|
||||
import ( |
||||
"log" |
||||
"github.com/gofiber/fiber/v2" |
||||
_ "github.com/mattn/go-sqlite3" |
||||
"github.com/jmoiron/sqlx" |
||||
) |
||||
|
||||
var configured bool |
||||
var DB *sqlx.DB |
||||
|
||||
func Setup(driver string, url string) { |
||||
if(!configured) { |
||||
var err error |
||||
|
||||
DB, err = sqlx.Connect(driver, url) |
||||
if err != nil { |
||||
log.Fatalln(err) |
||||
} |
||||
configured = true; |
||||
} |
||||
} |
||||
|
||||
func Shutdown() { |
||||
DB.Close() |
||||
} |
||||
|
||||
func SelectJson[T any](c *fiber.Ctx, err error, sql string, args ...interface{}) error { |
||||
var result []T |
||||
if err != nil { goto fail } |
||||
|
||||
err = DB.Select(&result, sql, args...) |
||||
if err != nil { goto fail } |
||||
|
||||
return c.JSON(&result) |
||||
|
||||
fail: return err |
||||
} |
||||
|
||||
func GetJson[T any](c *fiber.Ctx, err error, sql string, args ...interface{}) error { |
||||
var result T |
||||
if err != nil { goto fail } |
||||
|
||||
err = DB.Get(&result, sql, args...) |
||||
if err != nil { goto fail } |
||||
|
||||
return c.JSON(&result) |
||||
|
||||
fail: return err |
||||
} |
||||
|
||||
func Exec(err error, sql_query string, args ...interface{}) (error) { |
||||
if err != nil { return err } |
||||
DB.MustExec(sql_query, args...) |
||||
return err |
||||
} |
@ -0,0 +1,21 @@ |
||||
package data |
||||
|
||||
import "reflect" |
||||
|
||||
type Login struct { |
||||
Username string `db:"username" validate:"required,max=30"` |
||||
Password string `db:"password" validate:"required,max=128"` |
||||
} |
||||
|
||||
type User struct { |
||||
Id int `db:"id" json:"id" validate:"numeric"` |
||||
Username string `db:"username" validate:"required,max=30"` |
||||
Email string `db:"email" validate:"required,email,max=128"` |
||||
Password string `db:"password" validate:"required,min=8,max=64"` |
||||
} |
||||
|
||||
func Models() map[string]reflect.Type { |
||||
return map[string]reflect.Type{ |
||||
"user": reflect.TypeFor[User](), |
||||
} |
||||
} |
@ -0,0 +1,129 @@ |
||||
module zedshaw.games/webapp |
||||
|
||||
go 1.24.2 |
||||
|
||||
require ( |
||||
github.com/BurntSushi/toml v1.5.0 |
||||
github.com/Masterminds/squirrel v1.5.4 |
||||
github.com/chromedp/chromedp v0.13.6 |
||||
github.com/go-playground/validator/v10 v10.26.0 |
||||
github.com/gofiber/fiber/v2 v2.52.8 |
||||
github.com/gofiber/template/html/v2 v2.1.3 |
||||
github.com/jmoiron/sqlx v1.4.0 |
||||
github.com/mattn/go-sqlite3 v1.14.28 |
||||
github.com/stretchr/testify v1.10.0 |
||||
golang.org/x/crypto v0.40.0 |
||||
) |
||||
|
||||
require ( |
||||
dario.cat/mergo v1.0.2 // indirect |
||||
filippo.io/edwards25519 v1.1.0 // indirect |
||||
git.learnjsthehardway.com/learn-code-the-hard-way/ssgod v0.0.0-20250819005110-6eacdff12eb8 // indirect |
||||
github.com/ClickHouse/ch-go v0.65.1 // indirect |
||||
github.com/ClickHouse/clickhouse-go/v2 v2.34.0 // indirect |
||||
github.com/air-verse/air v1.62.0 // indirect |
||||
github.com/alecthomas/chroma/v2 v2.19.0 // indirect |
||||
github.com/andybalholm/brotli v1.1.1 // indirect |
||||
github.com/antlr4-go/antlr/v4 v4.13.1 // indirect |
||||
github.com/bep/godartsass/v2 v2.5.0 // indirect |
||||
github.com/bep/golibsass v1.2.0 // indirect |
||||
github.com/chromedp/cdproto v0.0.0-20250611220608-a17eb1ae8ff0 // indirect |
||||
github.com/chromedp/sysutil v1.1.0 // indirect |
||||
github.com/coder/websocket v1.8.13 // indirect |
||||
github.com/creack/pty v1.1.24 // indirect |
||||
github.com/davecgh/go-spew v1.1.1 // indirect |
||||
github.com/dustin/go-humanize v1.0.1 // indirect |
||||
github.com/elastic/go-sysinfo v1.15.3 // indirect |
||||
github.com/elastic/go-windows v1.0.2 // indirect |
||||
github.com/fatih/color v1.18.0 // indirect |
||||
github.com/fsnotify/fsnotify v1.9.0 // indirect |
||||
github.com/gabriel-vasile/mimetype v1.4.9 // indirect |
||||
github.com/go-faster/city v1.0.1 // indirect |
||||
github.com/go-faster/errors v0.7.1 // indirect |
||||
github.com/go-json-experiment/json v0.0.0-20250517221953-25912455fbc8 // indirect |
||||
github.com/go-playground/locales v0.14.1 // indirect |
||||
github.com/go-playground/universal-translator v0.18.1 // indirect |
||||
github.com/go-sql-driver/mysql v1.9.2 // indirect |
||||
github.com/gobwas/glob v0.2.3 // indirect |
||||
github.com/gobwas/httphead v0.1.0 // indirect |
||||
github.com/gobwas/pool v0.2.1 // indirect |
||||
github.com/gobwas/ws v1.4.0 // indirect |
||||
github.com/gofiber/template v1.8.3 // indirect |
||||
github.com/gofiber/utils v1.1.0 // indirect |
||||
github.com/gohugoio/hugo v0.147.6 // indirect |
||||
github.com/golang-jwt/jwt/v4 v4.5.2 // indirect |
||||
github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 // indirect |
||||
github.com/golang-sql/sqlexp v0.1.0 // indirect |
||||
github.com/google/licensecheck v0.3.1 // indirect |
||||
github.com/google/safehtml v0.0.3-0.20211026203422-d6f0e11a5516 // indirect |
||||
github.com/google/uuid v1.6.0 // indirect |
||||
github.com/jackc/pgpassfile v1.0.0 // indirect |
||||
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect |
||||
github.com/jackc/pgx/v5 v5.7.4 // indirect |
||||
github.com/jackc/puddle/v2 v2.2.2 // indirect |
||||
github.com/joho/godotenv v1.5.1 // indirect |
||||
github.com/jonboulle/clockwork v0.5.0 // indirect |
||||
github.com/klauspost/compress v1.18.0 // indirect |
||||
github.com/lann/builder v0.0.0-20180802200727-47ae307949d0 // indirect |
||||
github.com/lann/ps v0.0.0-20150810152359-62de8c46ede0 // indirect |
||||
github.com/leodido/go-urn v1.4.0 // indirect |
||||
github.com/mattn/go-colorable v0.1.14 // indirect |
||||
github.com/mattn/go-isatty v0.0.20 // indirect |
||||
github.com/mattn/go-runewidth v0.0.16 // indirect |
||||
github.com/mfridman/interpolate v0.0.2 // indirect |
||||
github.com/mfridman/xflag v0.1.0 // indirect |
||||
github.com/microsoft/go-mssqldb v1.8.0 // indirect |
||||
github.com/ncruces/go-strftime v0.1.9 // indirect |
||||
github.com/paulmach/orb v0.11.1 // indirect |
||||
github.com/pelletier/go-toml v1.9.5 // indirect |
||||
github.com/pelletier/go-toml/v2 v2.2.4 // indirect |
||||
github.com/pierrec/lz4/v4 v4.1.22 // indirect |
||||
github.com/pmezard/go-difflib v1.0.0 // indirect |
||||
github.com/pressly/goose/v3 v3.24.3 // indirect |
||||
github.com/prometheus/procfs v0.16.1 // indirect |
||||
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect |
||||
github.com/rivo/uniseg v0.4.7 // indirect |
||||
github.com/segmentio/asm v1.2.0 // indirect |
||||
github.com/sethvargo/go-retry v0.3.0 // indirect |
||||
github.com/shopspring/decimal v1.4.0 // indirect |
||||
github.com/spf13/afero v1.14.0 // indirect |
||||
github.com/spf13/cast v1.8.0 // indirect |
||||
github.com/tdewolff/parse/v2 v2.8.1 // indirect |
||||
github.com/tursodatabase/libsql-client-go v0.0.0-20240902231107-85af5b9d094d // indirect |
||||
github.com/valyala/bytebufferpool v1.0.0 // indirect |
||||
github.com/valyala/fasthttp v1.62.0 // indirect |
||||
github.com/vertica/vertica-sql-go v1.3.3 // indirect |
||||
github.com/ydb-platform/ydb-go-genproto v0.0.0-20241112172322-ea1f63298f77 // indirect |
||||
github.com/ydb-platform/ydb-go-sdk/v3 v3.108.1 // indirect |
||||
github.com/yuin/goldmark v1.7.13 // indirect |
||||
github.com/ziutek/mymysql v1.5.4 // indirect |
||||
go.opentelemetry.io/otel v1.35.0 // indirect |
||||
go.opentelemetry.io/otel/trace v1.35.0 // indirect |
||||
go.uber.org/multierr v1.11.0 // indirect |
||||
golang.org/x/exp v0.0.0-20250531010427-b6e5de432a8b // indirect |
||||
golang.org/x/mod v0.26.0 // indirect |
||||
golang.org/x/net v0.42.0 // indirect |
||||
golang.org/x/pkgsite v0.0.0-20250721174030-d4de6668b910 // indirect |
||||
golang.org/x/sync v0.16.0 // indirect |
||||
golang.org/x/sys v0.34.0 // indirect |
||||
golang.org/x/text v0.27.0 // indirect |
||||
golang.org/x/tools v0.35.0 // indirect |
||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20250324211829-b45e905df463 // indirect |
||||
google.golang.org/grpc v1.71.0 // indirect |
||||
google.golang.org/protobuf v1.36.6 // indirect |
||||
gopkg.in/yaml.v3 v3.0.1 // indirect |
||||
howett.net/plist v1.0.1 // indirect |
||||
modernc.org/libc v1.65.0 // indirect |
||||
modernc.org/mathutil v1.7.1 // indirect |
||||
modernc.org/memory v1.10.0 // indirect |
||||
modernc.org/sqlite v1.37.0 // indirect |
||||
rsc.io/markdown v0.0.0-20231214224604-88bb533a6020 // indirect |
||||
) |
||||
|
||||
tool ( |
||||
git.learnjsthehardway.com/learn-code-the-hard-way/ssgod |
||||
github.com/air-verse/air |
||||
github.com/pressly/goose/v3/cmd/goose |
||||
golang.org/x/pkgsite/cmd/pkgsite |
||||
golang.org/x/tools/cmd/goimports |
||||
) |
@ -0,0 +1,586 @@ |
||||
cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= |
||||
cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= |
||||
dario.cat/mergo v1.0.2 h1:85+piFYR1tMbRrLcDwR18y4UKJ3aH1Tbzi24VRW1TK8= |
||||
dario.cat/mergo v1.0.2/go.mod h1:E/hbnu0NxMFBjpMIE34DRGLWqDy0g5FuKDhCb31ngxA= |
||||
filippo.io/edwards25519 v1.1.0 h1:FNf4tywRC1HmFuKW5xopWpigGjJKiJSV0Cqo0cJWDaA= |
||||
filippo.io/edwards25519 v1.1.0/go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4VDT4= |
||||
git.learnjsthehardway.com/learn-code-the-hard-way/ssgod v0.0.0-20250819005110-6eacdff12eb8 h1:SCVz8GPnZKESrJTl1JzxGkIT+RBkoTiP6TEsK3kHQUY= |
||||
git.learnjsthehardway.com/learn-code-the-hard-way/ssgod v0.0.0-20250819005110-6eacdff12eb8/go.mod h1:QbY7C8GVlTo/Ru7sUi56BWgbY7MnTfWm0SoLZ/DMDcE= |
||||
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.14.0 h1:nyQWyZvwGTvunIMxi1Y9uXkcyr+I7TeNrr/foo4Kpk8= |
||||
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.14.0/go.mod h1:l38EPgmsp71HHLq9j7De57JcKOWPyhrsW1Awm1JS6K0= |
||||
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.7.0 h1:tfLQ34V6F7tVSwoTf/4lH5sE0o6eCJuNDTmH09nDpbc= |
||||
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.7.0/go.mod h1:9kIvujWAA58nmPmWB1m23fyWic1kYZMxD9CxaWn4Qpg= |
||||
github.com/Azure/azure-sdk-for-go/sdk/internal v1.10.0 h1:ywEEhmNahHBihViHepv3xPBn1663uRv2t2q/ESv9seY= |
||||
github.com/Azure/azure-sdk-for-go/sdk/internal v1.10.0/go.mod h1:iZDifYGJTIgIIkYRNWPENUnqx6bJ2xnSDFI2tjwZNuY= |
||||
github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys v1.0.1 h1:MyVTgWR8qd/Jw1Le0NZebGBUCLbtak3bJ3z1OlqZBpw= |
||||
github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys v1.0.1/go.mod h1:GpPjLhVR9dnUoJMyHWSPy71xY9/lcmpzIPZXmF0FCVY= |
||||
github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/internal v1.0.0 h1:D3occbWoio4EBLkbkevetNMAVX197GkzbUMtqjGWn80= |
||||
github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/internal v1.0.0/go.mod h1:bTSOgj05NGRuHHhQwAdPnYr9TOdNmKlZTgGLL6nyAdI= |
||||
github.com/AzureAD/microsoft-authentication-library-for-go v1.2.2 h1:XHOnouVk1mxXfQidrMEnLlPk9UMeRtyBTnEFtxkV0kU= |
||||
github.com/AzureAD/microsoft-authentication-library-for-go v1.2.2/go.mod h1:wP83P5OoQ5p6ip3ScPr0BAq0BvuPAvacpEuSzyouqAI= |
||||
github.com/BurntSushi/locker v0.0.0-20171006230638-a6e239ea1c69 h1:+tu3HOoMXB7RXEINRVIpxJCT+KdYiI7LAEAUrOw3dIU= |
||||
github.com/BurntSushi/locker v0.0.0-20171006230638-a6e239ea1c69/go.mod h1:L1AbZdiDllfyYH5l5OkAaZtk7VkWe89bPJFmnDBNHxg= |
||||
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= |
||||
github.com/BurntSushi/toml v1.5.0 h1:W5quZX/G/csjUnuI8SUYlsHs9M38FC7znL0lIO+DvMg= |
||||
github.com/BurntSushi/toml v1.5.0/go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho= |
||||
github.com/ClickHouse/ch-go v0.65.1 h1:SLuxmLl5Mjj44/XbINsK2HFvzqup0s6rwKLFH347ZhU= |
||||
github.com/ClickHouse/ch-go v0.65.1/go.mod h1:bsodgURwmrkvkBe5jw1qnGDgyITsYErfONKAHn05nv4= |
||||
github.com/ClickHouse/clickhouse-go/v2 v2.34.0 h1:Y4rqkdrRHgExvC4o/NTbLdY5LFQ3LHS77/RNFxFX3Co= |
||||
github.com/ClickHouse/clickhouse-go/v2 v2.34.0/go.mod h1:yioSINoRLVZkLyDzdMXPLRIqhDvel8iLBlwh6Iefso8= |
||||
github.com/Masterminds/squirrel v1.5.4 h1:uUcX/aBc8O7Fg9kaISIUsHXdKuqehiXAMQTYX8afzqM= |
||||
github.com/Masterminds/squirrel v1.5.4/go.mod h1:NNaOrjSoIDfDA40n7sr2tPNZRfjzjA400rg+riTZj10= |
||||
github.com/air-verse/air v1.62.0 h1:6CoXL4MAX9dc4xAzLfjMcDfbBoGmW5VjuuTV/1+bI+M= |
||||
github.com/air-verse/air v1.62.0/go.mod h1:EO+jWuetL10tS9raffwg8WEV0t0KUeucRRaf9ii86dA= |
||||
github.com/alecthomas/chroma/v2 v2.19.0 h1:Im+SLRgT8maArxv81mULDWN8oKxkzboH07CHesxElq4= |
||||
github.com/alecthomas/chroma/v2 v2.19.0/go.mod h1:RVX6AvYm4VfYe/zsk7mjHueLDZor3aWCNE14TFlepBk= |
||||
github.com/andybalholm/brotli v1.1.1 h1:PR2pgnyFznKEugtsUo0xLdDop5SKXd5Qf5ysW+7XdTA= |
||||
github.com/andybalholm/brotli v1.1.1/go.mod h1:05ib4cKhjx3OQYUY22hTVd34Bc8upXjOLL2rKwwZBoA= |
||||
github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= |
||||
github.com/antlr4-go/antlr/v4 v4.13.1 h1:SqQKkuVZ+zWkMMNkjy5FZe5mr5WURWnlpmOuzYWrPrQ= |
||||
github.com/antlr4-go/antlr/v4 v4.13.1/go.mod h1:GKmUxMtwp6ZgGwZSva4eWPC5mS6vUAmOABFgjdkM7Nw= |
||||
github.com/armon/go-radix v1.0.1-0.20221118154546-54df44f2176c h1:651/eoCRnQ7YtSjAnSzRucrJz+3iGEFt+ysraELS81M= |
||||
github.com/armon/go-radix v1.0.1-0.20221118154546-54df44f2176c/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= |
||||
github.com/bep/clocks v0.5.0 h1:hhvKVGLPQWRVsBP/UB7ErrHYIO42gINVbvqxvYTPVps= |
||||
github.com/bep/clocks v0.5.0/go.mod h1:SUq3q+OOq41y2lRQqH5fsOoxN8GbxSiT6jvoVVLCVhU= |
||||
github.com/bep/debounce v1.2.1 h1:v67fRdBA9UQu2NhLFXrSg0Brw7CexQekrBwDMM8bzeY= |
||||
github.com/bep/debounce v1.2.1/go.mod h1:H8yggRPQKLUhUoqrJC1bO2xNya7vanpDl7xR3ISbCJ0= |
||||
github.com/bep/gitmap v1.6.0 h1:sDuQMm9HoTL0LtlrfxjbjgAg2wHQd4nkMup2FInYzhA= |
||||
github.com/bep/gitmap v1.6.0/go.mod h1:n+3W1f/rot2hynsqEGxGMErPRgT41n9CkGuzPvz9cIw= |
||||
github.com/bep/goat v0.5.0 h1:S8jLXHCVy/EHIoCY+btKkmcxcXFd34a0Q63/0D4TKeA= |
||||
github.com/bep/goat v0.5.0/go.mod h1:Md9x7gRxiWKs85yHlVTvHQw9rg86Bm+Y4SuYE8CTH7c= |
||||
github.com/bep/godartsass/v2 v2.5.0 h1:tKRvwVdyjCIr48qgtLa4gHEdtRkPF8H1OeEhJAEv7xg= |
||||
github.com/bep/godartsass/v2 v2.5.0/go.mod h1:rjsi1YSXAl/UbsGL85RLDEjRKdIKUlMQHr6ChUNYOFU= |
||||
github.com/bep/golibsass v1.2.0 h1:nyZUkKP/0psr8nT6GR2cnmt99xS93Ji82ZD9AgOK6VI= |
||||
github.com/bep/golibsass v1.2.0/go.mod h1:DL87K8Un/+pWUS75ggYv41bliGiolxzDKWJAq3eJ1MA= |
||||
github.com/bep/goportabletext v0.1.0 h1:8dqym2So1cEqVZiBa4ZnMM1R9l/DnC1h4ONg4J5kujw= |
||||
github.com/bep/goportabletext v0.1.0/go.mod h1:6lzSTsSue75bbcyvVc0zqd1CdApuT+xkZQ6Re5DzZFg= |
||||
github.com/bep/gowebp v0.4.0 h1:QihuVnvIKbRoeBNQkN0JPMM8ClLmD6V2jMftTFwSK3Q= |
||||
github.com/bep/gowebp v0.4.0/go.mod h1:95gtYkAA8iIn1t3HkAPurRCVGV/6NhgaHJ1urz0iIwc= |
||||
github.com/bep/imagemeta v0.12.0 h1:ARf+igs5B7pf079LrqRnwzQ/wEB8Q9v4NSDRZO1/F5k= |
||||
github.com/bep/imagemeta v0.12.0/go.mod h1:23AF6O+4fUi9avjiydpKLStUNtJr5hJB4rarG18JpN8= |
||||
github.com/bep/lazycache v0.8.0 h1:lE5frnRjxaOFbkPZ1YL6nijzOPPz6zeXasJq8WpG4L8= |
||||
github.com/bep/lazycache v0.8.0/go.mod h1:BQ5WZepss7Ko91CGdWz8GQZi/fFnCcyWupv8gyTeKwk= |
||||
github.com/bep/logg v0.4.0 h1:luAo5mO4ZkhA5M1iDVDqDqnBBnlHjmtZF6VAyTp+nCQ= |
||||
github.com/bep/logg v0.4.0/go.mod h1:Ccp9yP3wbR1mm++Kpxet91hAZBEQgmWgFgnXX3GkIV0= |
||||
github.com/bep/overlayfs v0.10.0 h1:wS3eQ6bRsLX+4AAmwGjvoFSAQoeheamxofFiJ2SthSE= |
||||
github.com/bep/overlayfs v0.10.0/go.mod h1:ouu4nu6fFJaL0sPzNICzxYsBeWwrjiTdFZdK4lI3tro= |
||||
github.com/bep/tmc v0.5.1 h1:CsQnSC6MsomH64gw0cT5f+EwQDcvZz4AazKunFwTpuI= |
||||
github.com/bep/tmc v0.5.1/go.mod h1:tGYHN8fS85aJPhDLgXETVKp+PR382OvFi2+q2GkGsq0= |
||||
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= |
||||
github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= |
||||
github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs= |
||||
github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= |
||||
github.com/chromedp/cdproto v0.0.0-20250611220608-a17eb1ae8ff0 h1:tXxiImKSoSzfGjFxxNU0A1/idO0tbbNsPHNomsBlRd4= |
||||
github.com/chromedp/cdproto v0.0.0-20250611220608-a17eb1ae8ff0/go.mod h1:NItd7aLkcfOA/dcMXvl8p1u+lQqioRMq/SqDp71Pb/k= |
||||
github.com/chromedp/chromedp v0.13.6 h1:xlNunMyzS5bu3r/QKrb3fzX6ow3WBQ6oao+J65PGZxk= |
||||
github.com/chromedp/chromedp v0.13.6/go.mod h1:h8GPP6ZtLMLsU8zFbTcb7ZDGCvCy8j/vRoFmRltQx9A= |
||||
github.com/chromedp/sysutil v1.1.0 h1:PUFNv5EcprjqXZD9nJb9b/c9ibAbxiYo4exNWZyipwM= |
||||
github.com/chromedp/sysutil v1.1.0/go.mod h1:WiThHUdltqCNKGc4gaU50XgYjwjYIhKWoHGPTUfWTJ8= |
||||
github.com/clbanning/mxj/v2 v2.7.0 h1:WA/La7UGCanFe5NpHF0Q3DNtnCsVoxbPKuyBNHWRyME= |
||||
github.com/clbanning/mxj/v2 v2.7.0/go.mod h1:hNiWqW14h+kc+MdF9C6/YoRfjEJoR3ou6tn/Qo+ve2s= |
||||
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= |
||||
github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= |
||||
github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= |
||||
github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= |
||||
github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= |
||||
github.com/cncf/xds/go v0.0.0-20211001041855-01bcc9b48dfe/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= |
||||
github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= |
||||
github.com/coder/websocket v1.8.13 h1:f3QZdXy7uGVz+4uCJy2nTZyM0yTBj8yANEHhqlXZ9FE= |
||||
github.com/coder/websocket v1.8.13/go.mod h1:LNVeNrXQZfe5qhS9ALED3uA+l5pPqvwXg3CKoDBB2gs= |
||||
github.com/creack/pty v1.1.24 h1:bJrF4RRfyJnbTJqzRLHzcGaZK1NeM5kTC9jGgovnR1s= |
||||
github.com/creack/pty v1.1.24/go.mod h1:08sCNb52WyoAwi2QDyzUCTgcvVFhUzewun7wtTfvcwE= |
||||
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= |
||||
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= |
||||
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= |
||||
github.com/disintegration/gift v1.2.1 h1:Y005a1X4Z7Uc+0gLpSAsKhWi4qLtsdEcMIbbdvdZ6pc= |
||||
github.com/disintegration/gift v1.2.1/go.mod h1:Jh2i7f7Q2BM7Ezno3PhfezbR1xpUg9dUg3/RlKGr4HI= |
||||
github.com/dlclark/regexp2 v1.11.5 h1:Q/sSnsKerHeCkc/jSTNq1oCm7KiVgUMZRDUoRu0JQZQ= |
||||
github.com/dlclark/regexp2 v1.11.5/go.mod h1:DHkYz0B9wPfa6wondMfaivmHpzrQ3v9q8cnmRbL6yW8= |
||||
github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY= |
||||
github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= |
||||
github.com/elastic/go-sysinfo v1.8.1/go.mod h1:JfllUnzoQV/JRYymbH3dO1yggI3mV2oTKSXsDHM+uIM= |
||||
github.com/elastic/go-sysinfo v1.15.3 h1:W+RnmhKFkqPTCRoFq2VCTmsT4p/fwpo+3gKNQsn1XU0= |
||||
github.com/elastic/go-sysinfo v1.15.3/go.mod h1:K/cNrqYTDrSoMh2oDkYEMS2+a72GRxMvNP+GC+vRIlo= |
||||
github.com/elastic/go-windows v1.0.0/go.mod h1:TsU0Nrp7/y3+VwE82FoZF8gC/XFg/Elz6CcloAxnPgU= |
||||
github.com/elastic/go-windows v1.0.2 h1:yoLLsAsV5cfg9FLhZ9EXZ2n2sQFKeDYrHenkcivY4vI= |
||||
github.com/elastic/go-windows v1.0.2/go.mod h1:bGcDpBzXgYSqM0Gx3DM4+UxFj300SZLixie9u9ixLM8= |
||||
github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= |
||||
github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= |
||||
github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= |
||||
github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= |
||||
github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE= |
||||
github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= |
||||
github.com/evanw/esbuild v0.25.3 h1:4JKyUsm/nHDhpxis4IyWXAi8GiyTwG1WdEp6OhGVE8U= |
||||
github.com/evanw/esbuild v0.25.3/go.mod h1:D2vIQZqV/vIf/VRHtViaUtViZmG7o+kKmlBfVQuRi48= |
||||
github.com/fatih/color v1.18.0 h1:S8gINlzdQ840/4pfAwic/ZE0djQEH3wM94VfqLTZcOM= |
||||
github.com/fatih/color v1.18.0/go.mod h1:4FelSpRwEGDpQ12mAdzqdOukCy4u8WUtOY6lkT/6HfU= |
||||
github.com/frankban/quicktest v1.7.2/go.mod h1:jaStnuzAqU1AJdCO0l53JDCJrVDKcS03DbaAcR7Ks/o= |
||||
github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8= |
||||
github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0= |
||||
github.com/fsnotify/fsnotify v1.9.0 h1:2Ml+OJNzbYCTzsxtv8vKSFD9PbJjmhYF14k/jKC7S9k= |
||||
github.com/fsnotify/fsnotify v1.9.0/go.mod h1:8jBTzvmWwFyi3Pb8djgCCO5IBqzKJ/Jwo8TRcHyHii0= |
||||
github.com/gabriel-vasile/mimetype v1.4.9 h1:5k+WDwEsD9eTLL8Tz3L0VnmVh9QxGjRmjBvAG7U/oYY= |
||||
github.com/gabriel-vasile/mimetype v1.4.9/go.mod h1:WnSQhFKJuBlRyLiKohA/2DtIlPFAbguNaG7QCHcyGok= |
||||
github.com/getkin/kin-openapi v0.132.0 h1:3ISeLMsQzcb5v26yeJrBcdTCEQTag36ZjaGk7MIRUwk= |
||||
github.com/getkin/kin-openapi v0.132.0/go.mod h1:3OlG51PCYNsPByuiMB0t4fjnNlIDnaEDsjiKUV8nL58= |
||||
github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk= |
||||
github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= |
||||
github.com/go-faster/city v1.0.1 h1:4WAxSZ3V2Ws4QRDrscLEDcibJY8uf41H6AhXDrNDcGw= |
||||
github.com/go-faster/city v1.0.1/go.mod h1:jKcUJId49qdW3L1qKHH/3wPeUstCVpVSXTM6vO3VcTw= |
||||
github.com/go-faster/errors v0.7.1 h1:MkJTnDoEdi9pDabt1dpWf7AA8/BaSYZqibYyhZ20AYg= |
||||
github.com/go-faster/errors v0.7.1/go.mod h1:5ySTjWFiphBs07IKuiL69nxdfd5+fzh1u7FPGZP2quo= |
||||
github.com/go-json-experiment/json v0.0.0-20250517221953-25912455fbc8 h1:o8UqXPI6SVwQt04RGsqKp3qqmbOfTNMqDrWsc4O47kk= |
||||
github.com/go-json-experiment/json v0.0.0-20250517221953-25912455fbc8/go.mod h1:TiCD2a1pcmjd7YnhGH0f/zKNcCD06B029pHhzV23c2M= |
||||
github.com/go-logr/logr v1.4.2 h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY= |
||||
github.com/go-logr/logr v1.4.2/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= |
||||
github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= |
||||
github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= |
||||
github.com/go-openapi/jsonpointer v0.21.0 h1:YgdVicSA9vH5RiHs9TZW5oyafXZFc6+2Vc1rr/O9oNQ= |
||||
github.com/go-openapi/jsonpointer v0.21.0/go.mod h1:IUyH9l/+uyhIYQ/PXVA41Rexl+kOkAPDdXEYns6fzUY= |
||||
github.com/go-openapi/swag v0.23.0 h1:vsEVJDUo2hPJ2tu0/Xc+4noaxyEffXNIs3cOULZ+GrE= |
||||
github.com/go-openapi/swag v0.23.0/go.mod h1:esZ8ITTYEsH1V2trKHjAN8Ai7xHb8RV+YSZ577vPjgQ= |
||||
github.com/go-playground/assert/v2 v2.2.0 h1:JvknZsQTYeFEAhQwI4qEt9cyV5ONwRHC+lYKSsYSR8s= |
||||
github.com/go-playground/assert/v2 v2.2.0/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= |
||||
github.com/go-playground/locales v0.14.1 h1:EWaQ/wswjilfKLTECiXz7Rh+3BjFhfDFKv/oXslEjJA= |
||||
github.com/go-playground/locales v0.14.1/go.mod h1:hxrqLVvrK65+Rwrd5Fc6F2O76J/NuW9t0sjnWqG1slY= |
||||
github.com/go-playground/universal-translator v0.18.1 h1:Bcnm0ZwsGyWbCzImXv+pAJnYK9S473LQFuzCbDbfSFY= |
||||
github.com/go-playground/universal-translator v0.18.1/go.mod h1:xekY+UJKNuX9WP91TpwSH2VMlDf28Uj24BCp08ZFTUY= |
||||
github.com/go-playground/validator/v10 v10.26.0 h1:SP05Nqhjcvz81uJaRfEV0YBSSSGMc/iMaVtFbr3Sw2k= |
||||
github.com/go-playground/validator/v10 v10.26.0/go.mod h1:I5QpIEbmr8On7W0TktmJAumgzX4CA1XNl4ZmDuVHKKo= |
||||
github.com/go-sql-driver/mysql v1.8.1/go.mod h1:wEBSXgmK//2ZFJyE+qWnIsVGmvmEKlqwuVSjsCm7DZg= |
||||
github.com/go-sql-driver/mysql v1.9.2 h1:4cNKDYQ1I84SXslGddlsrMhc8k4LeDVj6Ad6WRjiHuU= |
||||
github.com/go-sql-driver/mysql v1.9.2/go.mod h1:qn46aNg1333BRMNU69Lq93t8du/dwxI64Gl8i5p1WMU= |
||||
github.com/gobuffalo/flect v1.0.3 h1:xeWBM2nui+qnVvNM4S3foBhCAL2XgPU+a7FdpelbTq4= |
||||
github.com/gobuffalo/flect v1.0.3/go.mod h1:A5msMlrHtLqh9umBSnvabjsMrCcCpAyzglnDvkbYKHs= |
||||
github.com/gobwas/glob v0.2.3 h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y= |
||||
github.com/gobwas/glob v0.2.3/go.mod h1:d3Ez4x06l9bZtSvzIay5+Yzi0fmZzPgnTbPcKjJAkT8= |
||||
github.com/gobwas/httphead v0.1.0 h1:exrUm0f4YX0L7EBwZHuCF4GDp8aJfVeBrlLQrs6NqWU= |
||||
github.com/gobwas/httphead v0.1.0/go.mod h1:O/RXo79gxV8G+RqlR/otEwx4Q36zl9rqC5u12GKvMCM= |
||||
github.com/gobwas/pool v0.2.1 h1:xfeeEhW7pwmX8nuLVlqbzVc7udMDrwetjEv+TZIz1og= |
||||
github.com/gobwas/pool v0.2.1/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6WezmKEw= |
||||
github.com/gobwas/ws v1.4.0 h1:CTaoG1tojrh4ucGPcoJFiAQUAsEWekEWvLy7GsVNqGs= |
||||
github.com/gobwas/ws v1.4.0/go.mod h1:G3gNqMNtPppf5XUz7O4shetPpcZ1VJ7zt18dlUeakrc= |
||||
github.com/gofiber/fiber/v2 v2.52.8 h1:xl4jJQ0BV5EJTA2aWiKw/VddRpHrKeZLF0QPUxqn0x4= |
||||
github.com/gofiber/fiber/v2 v2.52.8/go.mod h1:YEcBbO/FB+5M1IZNBP9FO3J9281zgPAreiI1oqg8nDw= |
||||
github.com/gofiber/template v1.8.3 h1:hzHdvMwMo/T2kouz2pPCA0zGiLCeMnoGsQZBTSYgZxc= |
||||
github.com/gofiber/template v1.8.3/go.mod h1:bs/2n0pSNPOkRa5VJ8zTIvedcI/lEYxzV3+YPXdBvq8= |
||||
github.com/gofiber/template/html/v2 v2.1.3 h1:n1LYBtmr9C0V/k/3qBblXyMxV5B0o/gpb6dFLp8ea+o= |
||||
github.com/gofiber/template/html/v2 v2.1.3/go.mod h1:U5Fxgc5KpyujU9OqKzy6Kn6Qup6Tm7zdsISR+VpnHRE= |
||||
github.com/gofiber/utils v1.1.0 h1:vdEBpn7AzIUJRhe+CiTOJdUcTg4Q9RK+pEa0KPbLdrM= |
||||
github.com/gofiber/utils v1.1.0/go.mod h1:poZpsnhBykfnY1Mc0KeEa6mSHrS3dV0+oBWyeQmb2e0= |
||||
github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= |
||||
github.com/gohugoio/go-i18n/v2 v2.1.3-0.20230805085216-e63c13218d0e h1:QArsSubW7eDh8APMXkByjQWvuljwPGAGQpJEFn0F0wY= |
||||
github.com/gohugoio/go-i18n/v2 v2.1.3-0.20230805085216-e63c13218d0e/go.mod h1:3Ltoo9Banwq0gOtcOwxuHG6omk+AwsQPADyw2vQYOJQ= |
||||
github.com/gohugoio/hashstructure v0.5.0 h1:G2fjSBU36RdwEJBWJ+919ERvOVqAg9tfcYp47K9swqg= |
||||
github.com/gohugoio/hashstructure v0.5.0/go.mod h1:Ser0TniXuu/eauYmrwM4o64EBvySxNzITEOLlm4igec= |
||||
github.com/gohugoio/httpcache v0.7.0 h1:ukPnn04Rgvx48JIinZvZetBfHaWE7I01JR2Q2RrQ3Vs= |
||||
github.com/gohugoio/httpcache v0.7.0/go.mod h1:fMlPrdY/vVJhAriLZnrF5QpN3BNAcoBClgAyQd+lGFI= |
||||
github.com/gohugoio/hugo v0.147.6 h1:rL4rnus/5qzj4+FoA+JMzsVvFJ2YZdVIH6pbuCB2P84= |
||||
github.com/gohugoio/hugo v0.147.6/go.mod h1:Sb2COQPDPYG+tRSpePtzKytiuVDqkBivEhgIew1QbNo= |
||||
github.com/gohugoio/hugo-goldmark-extensions/extras v0.3.0 h1:gj49kTR5Z4Hnm0ZaQrgPVazL3DUkppw+x6XhHCmh+Wk= |
||||
github.com/gohugoio/hugo-goldmark-extensions/extras v0.3.0/go.mod h1:IMMj7xiUbLt1YNJ6m7AM4cnsX4cFnnfkleO/lBHGzUg= |
||||
github.com/gohugoio/hugo-goldmark-extensions/passthrough v0.3.1 h1:nUzXfRTszLliZuN0JTKeunXTRaiFX6ksaWP0puLLYAY= |
||||
github.com/gohugoio/hugo-goldmark-extensions/passthrough v0.3.1/go.mod h1:Wy8ThAA8p2/w1DY05vEzq6EIeI2mzDjvHsu7ULBVwog= |
||||
github.com/gohugoio/locales v0.14.0 h1:Q0gpsZwfv7ATHMbcTNepFd59H7GoykzWJIxi113XGDc= |
||||
github.com/gohugoio/locales v0.14.0/go.mod h1:ip8cCAv/cnmVLzzXtiTpPwgJ4xhKZranqNqtoIu0b/4= |
||||
github.com/gohugoio/localescompressed v1.0.1 h1:KTYMi8fCWYLswFyJAeOtuk/EkXR/KPTHHNN9OS+RTxo= |
||||
github.com/gohugoio/localescompressed v1.0.1/go.mod h1:jBF6q8D7a0vaEmcWPNcAjUZLJaIVNiwvM3WlmTvooB0= |
||||
github.com/golang-jwt/jwt/v4 v4.5.2 h1:YtQM7lnr8iZ+j5q71MGKkNw9Mn7AjHM68uc9g5fXeUI= |
||||
github.com/golang-jwt/jwt/v4 v4.5.2/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= |
||||
github.com/golang-jwt/jwt/v5 v5.2.2 h1:Rl4B7itRWVtYIHFrSNd7vhTiz9UpLdi6gZhZ3wEeDy8= |
||||
github.com/golang-jwt/jwt/v5 v5.2.2/go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk= |
||||
github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 h1:au07oEsX2xN0ktxqI+Sida1w446QrXBRJ0nee3SNZlA= |
||||
github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9/go.mod h1:8vg3r2VgvsThLBIFL93Qb5yWzgyZWhEmBwUJWevAkK0= |
||||
github.com/golang-sql/sqlexp v0.1.0 h1:ZCD6MBpcuOVfGVqsEmY5/4FtYiKz6tSyUv9LPEDei6A= |
||||
github.com/golang-sql/sqlexp v0.1.0/go.mod h1:J4ad9Vo8ZCWQ2GMrC4UCQy1JpCbwU9m3EOqtpKwwwHI= |
||||
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= |
||||
github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= |
||||
github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= |
||||
github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= |
||||
github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= |
||||
github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= |
||||
github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= |
||||
github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= |
||||
github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= |
||||
github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= |
||||
github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= |
||||
github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= |
||||
github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= |
||||
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= |
||||
github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= |
||||
github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= |
||||
github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= |
||||
github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= |
||||
github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= |
||||
github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= |
||||
github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= |
||||
github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= |
||||
github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= |
||||
github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= |
||||
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= |
||||
github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= |
||||
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= |
||||
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= |
||||
github.com/google/licensecheck v0.3.1 h1:QoxgoDkaeC4nFrtGN1jV7IPmDCHFNIVh54e5hSt6sPs= |
||||
github.com/google/licensecheck v0.3.1/go.mod h1:ORkR35t/JjW+emNKtfJDII0zlciG9JgbT7SmsohlHmY= |
||||
github.com/google/pprof v0.0.0-20250317173921-a4b03ec1a45e h1:ijClszYn+mADRFY17kjQEVQ1XRhq2/JR1M3sGqeJoxs= |
||||
github.com/google/pprof v0.0.0-20250317173921-a4b03ec1a45e/go.mod h1:boTsfXsheKC2y+lKOCMpSfarhxDeIzfZG1jqGcPl3cA= |
||||
github.com/google/safehtml v0.0.3-0.20211026203422-d6f0e11a5516 h1:pSEdbeokt55L2hwtWo6A2k7u5SG08rmw0LhWEyrdWgk= |
||||
github.com/google/safehtml v0.0.3-0.20211026203422-d6f0e11a5516/go.mod h1:L4KWwDsUJdECRAEpZoBn3O64bQaywRscowZjJAzjHnU= |
||||
github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= |
||||
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= |
||||
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= |
||||
github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= |
||||
github.com/hairyhenderson/go-codeowners v0.7.0 h1:s0W4wF8bdsBEjTWzwzSlsatSthWtTAF2xLgo4a4RwAo= |
||||
github.com/hairyhenderson/go-codeowners v0.7.0/go.mod h1:wUlNgQ3QjqC4z8DnM5nnCYVq/icpqXJyJOukKx5U8/Q= |
||||
github.com/hashicorp/golang-lru/v2 v2.0.7 h1:a+bsQ5rvGLjzHuww6tVxozPZFVghXaHOwFs4luLUK2k= |
||||
github.com/hashicorp/golang-lru/v2 v2.0.7/go.mod h1:QeFd9opnmA6QUJc5vARoKUSoFhyfM2/ZepoAG6RGpeM= |
||||
github.com/jackc/pgpassfile v1.0.0 h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsIM= |
||||
github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg= |
||||
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 h1:iCEnooe7UlwOQYpKFhBabPMi4aNAfoODPEFNiAnClxo= |
||||
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761/go.mod h1:5TJZWKEWniPve33vlWYSoGYefn3gLQRzjfDlhSJ9ZKM= |
||||
github.com/jackc/pgx/v5 v5.7.4 h1:9wKznZrhWa2QiHL+NjTSPP6yjl3451BX3imWDnokYlg= |
||||
github.com/jackc/pgx/v5 v5.7.4/go.mod h1:ncY89UGWxg82EykZUwSpUKEfccBGGYq1xjrOpsbsfGQ= |
||||
github.com/jackc/puddle/v2 v2.2.2 h1:PR8nw+E/1w0GLuRFSmiioY6UooMp6KJv0/61nB7icHo= |
||||
github.com/jackc/puddle/v2 v2.2.2/go.mod h1:vriiEXHvEE654aYKXXjOvZM39qJ0q+azkZFrfEOc3H4= |
||||
github.com/jdkato/prose v1.2.1 h1:Fp3UnJmLVISmlc57BgKUzdjr0lOtjqTZicL3PaYy6cU= |
||||
github.com/jdkato/prose v1.2.1/go.mod h1:AiRHgVagnEx2JbQRQowVBKjG0bcs/vtkGCH1dYAL1rA= |
||||
github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= |
||||
github.com/jmoiron/sqlx v1.4.0 h1:1PLqN7S1UYp5t4SrVVnt4nUVNemrDAtxlulVe+Qgm3o= |
||||
github.com/jmoiron/sqlx v1.4.0/go.mod h1:ZrZ7UsYB/weZdl2Bxg6jCRO9c3YHl8r3ahlKmRT4JLY= |
||||
github.com/joeshaw/multierror v0.0.0-20140124173710-69b34d4ec901/go.mod h1:Z86h9688Y0wesXCyonoVr47MasHilkuLMqGhRZ4Hpak= |
||||
github.com/joho/godotenv v1.5.1 h1:7eLL/+HRGLY0ldzfGMeQkb7vMd0as4CfYvUVzLqw0N0= |
||||
github.com/joho/godotenv v1.5.1/go.mod h1:f4LDr5Voq0i2e/R5DDNOoa2zzDfwtkZa6DnEwAbqwq4= |
||||
github.com/jonboulle/clockwork v0.5.0 h1:Hyh9A8u51kptdkR+cqRpT1EebBwTn1oK9YfGYbdFz6I= |
||||
github.com/jonboulle/clockwork v0.5.0/go.mod h1:3mZlmanh0g2NDKO5TWZVJAfofYk64M7XN3SzBPjZF60= |
||||
github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= |
||||
github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= |
||||
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= |
||||
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= |
||||
github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= |
||||
github.com/klauspost/compress v1.18.0 h1:c/Cqfb0r+Yi+JtIEq73FWXVkRonBlf0CRNYc8Zttxdo= |
||||
github.com/klauspost/compress v1.18.0/go.mod h1:2Pp+KzxcywXVXMr50+X0Q/Lsb43OQHYWRCY2AiWywWQ= |
||||
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= |
||||
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= |
||||
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= |
||||
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= |
||||
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= |
||||
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= |
||||
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= |
||||
github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= |
||||
github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= |
||||
github.com/kyokomi/emoji/v2 v2.2.13 h1:GhTfQa67venUUvmleTNFnb+bi7S3aocF7ZCXU9fSO7U= |
||||
github.com/kyokomi/emoji/v2 v2.2.13/go.mod h1:JUcn42DTdsXJo1SWanHh4HKDEyPaR5CqkmoirZZP9qE= |
||||
github.com/lann/builder v0.0.0-20180802200727-47ae307949d0 h1:SOEGU9fKiNWd/HOJuq6+3iTQz8KNCLtVX6idSoTLdUw= |
||||
github.com/lann/builder v0.0.0-20180802200727-47ae307949d0/go.mod h1:dXGbAdH5GtBTC4WfIxhKZfyBF/HBFgRZSWwZ9g/He9o= |
||||
github.com/lann/ps v0.0.0-20150810152359-62de8c46ede0 h1:P6pPBnrTSX3DEVR4fDembhRWSsG5rVo6hYhAB/ADZrk= |
||||
github.com/lann/ps v0.0.0-20150810152359-62de8c46ede0/go.mod h1:vmVJ0l/dxyfGW6FmdpVm2joNMFikkuWg0EoCKLGUMNw= |
||||
github.com/ledongthuc/pdf v0.0.0-20220302134840-0c2507a12d80 h1:6Yzfa6GP0rIo/kULo2bwGEkFvCePZ3qHDDTC3/J9Swo= |
||||
github.com/ledongthuc/pdf v0.0.0-20220302134840-0c2507a12d80/go.mod h1:imJHygn/1yfhB7XSJJKlFZKl/J+dCPAknuiaGOshXAs= |
||||
github.com/leodido/go-urn v1.4.0 h1:WT9HwE9SGECu3lg4d/dIA+jxlljEa1/ffXKmRjqdmIQ= |
||||
github.com/leodido/go-urn v1.4.0/go.mod h1:bvxc+MVxLKB4z00jd1z+Dvzr47oO32F/QSNjSBOlFxI= |
||||
github.com/lib/pq v1.10.9 h1:YXG7RB+JIjhP29X+OtkiDnYaXQwpS4JEWq7dtCCRUEw= |
||||
github.com/lib/pq v1.10.9/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= |
||||
github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0= |
||||
github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= |
||||
github.com/makeworld-the-better-one/dither/v2 v2.4.0 h1:Az/dYXiTcwcRSe59Hzw4RI1rSnAZns+1msaCXetrMFE= |
||||
github.com/makeworld-the-better-one/dither/v2 v2.4.0/go.mod h1:VBtN8DXO7SNtyGmLiGA7IsFeKrBkQPze1/iAeM95arc= |
||||
github.com/marekm4/color-extractor v1.2.1 h1:3Zb2tQsn6bITZ8MBVhc33Qn1k5/SEuZ18mrXGUqIwn0= |
||||
github.com/marekm4/color-extractor v1.2.1/go.mod h1:90VjmiHI6M8ez9eYUaXLdcKnS+BAOp7w+NpwBdkJmpA= |
||||
github.com/mattn/go-colorable v0.1.14 h1:9A9LHSqF/7dyVVX6g0U9cwm9pG3kP9gSzcuIPHPsaIE= |
||||
github.com/mattn/go-colorable v0.1.14/go.mod h1:6LmQG8QLFO4G5z1gPvYEzlUgJ2wF+stgPZH1UqBm1s8= |
||||
github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= |
||||
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= |
||||
github.com/mattn/go-runewidth v0.0.16 h1:E5ScNMtiwvlvB5paMFdw9p4kSQzbXFikJ5SQO6TULQc= |
||||
github.com/mattn/go-runewidth v0.0.16/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= |
||||
github.com/mattn/go-sqlite3 v1.14.22/go.mod h1:Uh1q+B4BYcTPb+yiD3kU8Ct7aC0hY9fxUwlHK0RXw+Y= |
||||
github.com/mattn/go-sqlite3 v1.14.28 h1:ThEiQrnbtumT+QMknw63Befp/ce/nUPgBPMlRFEum7A= |
||||
github.com/mattn/go-sqlite3 v1.14.28/go.mod h1:Uh1q+B4BYcTPb+yiD3kU8Ct7aC0hY9fxUwlHK0RXw+Y= |
||||
github.com/mfridman/interpolate v0.0.2 h1:pnuTK7MQIxxFz1Gr+rjSIx9u7qVjf5VOoM/u6BbAxPY= |
||||
github.com/mfridman/interpolate v0.0.2/go.mod h1:p+7uk6oE07mpE/Ik1b8EckO0O4ZXiGAfshKBWLUM9Xg= |
||||
github.com/mfridman/xflag v0.1.0 h1:TWZrZwG1QklFX5S4j1vxfF1sZbZeZSGofMwPMLAF29M= |
||||
github.com/mfridman/xflag v0.1.0/go.mod h1:/483ywM5ZO5SuMVjrIGquYNE5CzLrj5Ux/LxWWnjRaE= |
||||
github.com/microsoft/go-mssqldb v1.8.0 h1:7cyZ/AT7ycDsEoWPIXibd+aVKFtteUNhDGf3aobP+tw= |
||||
github.com/microsoft/go-mssqldb v1.8.0/go.mod h1:6znkekS3T2vp0waiMhen4GPU1BiAsrP+iXHcE7a7rFo= |
||||
github.com/mitchellh/mapstructure v1.5.1-0.20231216201459-8508981c8b6c h1:cqn374mizHuIWj+OSJCajGr/phAmuMug9qIX3l9CflE= |
||||
github.com/mitchellh/mapstructure v1.5.1-0.20231216201459-8508981c8b6c/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= |
||||
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 h1:RWengNIwukTxcDr9M+97sNutRR1RKhG96O6jWumTTnw= |
||||
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826/go.mod h1:TaXosZuwdSHYgviHp1DAtfrULt5eUgsSMsZf+YrPgl8= |
||||
github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe/go.mod h1:wL8QJuTMNUDYhXwkmfOly8iTdp5TEcJFWZD2D7SIkUc= |
||||
github.com/muesli/smartcrop v0.3.0 h1:JTlSkmxWg/oQ1TcLDoypuirdE8Y/jzNirQeLkxpA6Oc= |
||||
github.com/muesli/smartcrop v0.3.0/go.mod h1:i2fCI/UorTfgEpPPLWiFBv4pye+YAG78RwcQLUkocpI= |
||||
github.com/ncruces/go-strftime v0.1.9 h1:bY0MQC28UADQmHmaF5dgpLmImcShSi2kHU9XLdhx/f4= |
||||
github.com/ncruces/go-strftime v0.1.9/go.mod h1:Fwc5htZGVVkseilnfgOVb9mKy6w1naJmn9CehxcKcls= |
||||
github.com/niklasfasching/go-org v1.7.0 h1:vyMdcMWWTe/XmANk19F4k8XGBYg0GQ/gJGMimOjGMek= |
||||
github.com/niklasfasching/go-org v1.7.0/go.mod h1:WuVm4d45oePiE0eX25GqTDQIt/qPW1T9DGkRscqLW5o= |
||||
github.com/oasdiff/yaml v0.0.0-20250309154309-f31be36b4037 h1:G7ERwszslrBzRxj//JalHPu/3yz+De2J+4aLtSRlHiY= |
||||
github.com/oasdiff/yaml v0.0.0-20250309154309-f31be36b4037/go.mod h1:2bpvgLBZEtENV5scfDFEtB/5+1M4hkQhDQrccEJ/qGw= |
||||
github.com/oasdiff/yaml3 v0.0.0-20250309153720-d2182401db90 h1:bQx3WeLcUWy+RletIKwUIt4x3t8n2SxavmoclizMb8c= |
||||
github.com/oasdiff/yaml3 v0.0.0-20250309153720-d2182401db90/go.mod h1:y5+oSEHCPT/DGrS++Wc/479ERge0zTFxaF8PbGKcg2o= |
||||
github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec= |
||||
github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= |
||||
github.com/orisano/pixelmatch v0.0.0-20220722002657-fb0b55479cde h1:x0TT0RDC7UhAVbbWWBzr41ElhJx5tXPWkIHA2HWPRuw= |
||||
github.com/orisano/pixelmatch v0.0.0-20220722002657-fb0b55479cde/go.mod h1:nZgzbfBr3hhjoZnS66nKrHmduYNpc34ny7RK4z5/HM0= |
||||
github.com/paulmach/orb v0.11.1 h1:3koVegMC4X/WeiXYz9iswopaTwMem53NzTJuTF20JzU= |
||||
github.com/paulmach/orb v0.11.1/go.mod h1:5mULz1xQfs3bmQm63QEJA6lNGujuRafwA5S/EnuLaLU= |
||||
github.com/paulmach/protoscan v0.2.1/go.mod h1:SpcSwydNLrxUGSDvXvO0P7g7AuhJ7lcKfDlhJCDw2gY= |
||||
github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 h1:onHthvaw9LFnH4t2DcNVpwGmV9E1BkGknEliJkfwQj0= |
||||
github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58/go.mod h1:DXv8WO4yhMYhSNPKjeNKa5WY9YCIEBRbNzFFPJbWO6Y= |
||||
github.com/pelletier/go-toml v1.9.5 h1:4yBQzkHv+7BHq2PQUZF3Mx0IYxG7LsP222s7Agd3ve8= |
||||
github.com/pelletier/go-toml v1.9.5/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= |
||||
github.com/pelletier/go-toml/v2 v2.2.4 h1:mye9XuhQ6gvn5h28+VilKrrPoQVanw5PMw/TB0t5Ec4= |
||||
github.com/pelletier/go-toml/v2 v2.2.4/go.mod h1:2gIqNv+qfxSVS7cM2xJQKtLSTLUE9V8t9Stt+h56mCY= |
||||
github.com/perimeterx/marshmallow v1.1.5 h1:a2LALqQ1BlHM8PZblsDdidgv1mWi1DgC2UmX50IvK2s= |
||||
github.com/perimeterx/marshmallow v1.1.5/go.mod h1:dsXbUu8CRzfYP5a87xpp0xq9S3u0Vchtcl8we9tYaXw= |
||||
github.com/pierrec/lz4/v4 v4.1.22 h1:cKFw6uJDK+/gfw5BcDL0JL5aBsAFdsIT18eRtLj7VIU= |
||||
github.com/pierrec/lz4/v4 v4.1.22/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4= |
||||
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c h1:+mdjkGKdHQG3305AYmdv1U2eRNDiU2ErMBj1gwrq8eQ= |
||||
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c/go.mod h1:7rwL4CYBLnjLxUqIJNnCWiEdr3bn6IUYi15bNlnbCCU= |
||||
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= |
||||
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= |
||||
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= |
||||
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= |
||||
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= |
||||
github.com/pressly/goose/v3 v3.24.3 h1:DSWWNwwggVUsYZ0X2VitiAa9sKuqtBfe+Jr9zFGwWlM= |
||||
github.com/pressly/goose/v3 v3.24.3/go.mod h1:v9zYL4xdViLHCUUJh/mhjnm6JrK7Eul8AS93IxiZM4E= |
||||
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= |
||||
github.com/prometheus/procfs v0.0.0-20190425082905-87a4384529e0/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= |
||||
github.com/prometheus/procfs v0.16.1 h1:hZ15bTNuirocR6u0JZ6BAHHmwS1p8B4P6MRqxtzMyRg= |
||||
github.com/prometheus/procfs v0.16.1/go.mod h1:teAbpZRB1iIAJYREa1LsoWUXykVXA1KlTmWl8x/U+Is= |
||||
github.com/rekby/fixenv v0.6.1 h1:jUFiSPpajT4WY2cYuc++7Y1zWrnCxnovGCIX72PZniM= |
||||
github.com/rekby/fixenv v0.6.1/go.mod h1:/b5LRc06BYJtslRtHKxsPWFT/ySpHV+rWvzTg+XWk4c= |
||||
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec h1:W09IVJc94icq4NjY3clb7Lk8O1qJ8BdBEF8z0ibU0rE= |
||||
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= |
||||
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= |
||||
github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ= |
||||
github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= |
||||
github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= |
||||
github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ= |
||||
github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc= |
||||
github.com/segmentio/asm v1.2.0 h1:9BQrFxC+YOHJlTlHGkTrFWf59nbL3XnCoFLTwDCI7ys= |
||||
github.com/segmentio/asm v1.2.0/go.mod h1:BqMnlJP91P8d+4ibuonYZw9mfnzI9HfxselHZr5aAcs= |
||||
github.com/sethvargo/go-retry v0.3.0 h1:EEt31A35QhrcRZtrYFDTBg91cqZVnFL2navjDrah2SE= |
||||
github.com/sethvargo/go-retry v0.3.0/go.mod h1:mNX17F0C/HguQMyMyJxcnU471gOZGxCLyYaFyAZraas= |
||||
github.com/shopspring/decimal v1.4.0 h1:bxl37RwXBklmTi0C79JfXCEBD1cqqHt0bbgBAGFp81k= |
||||
github.com/shopspring/decimal v1.4.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+DMd9qYNcwME= |
||||
github.com/spf13/afero v1.14.0 h1:9tH6MapGnn/j0eb0yIXiLjERO8RB6xIVZRDCX7PtqWA= |
||||
github.com/spf13/afero v1.14.0/go.mod h1:acJQ8t0ohCGuMN3O+Pv0V0hgMxNYDlvdk+VTfyZmbYo= |
||||
github.com/spf13/cast v1.8.0 h1:gEN9K4b8Xws4EX0+a0reLmhq8moKn7ntRlQYgjPeCDk= |
||||
github.com/spf13/cast v1.8.0/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo= |
||||
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= |
||||
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= |
||||
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= |
||||
github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= |
||||
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= |
||||
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= |
||||
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA= |
||||
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= |
||||
github.com/tdewolff/minify/v2 v2.23.5 h1:/P548KcpTkIOUvNg22zN83/GiaYSOIrbqtoue4I7kYM= |
||||
github.com/tdewolff/minify/v2 v2.23.5/go.mod h1:2RI9tiIrzJU1Z5EasXEPaI1MqobRyxKHOOgrRkq5oEw= |
||||
github.com/tdewolff/parse/v2 v2.8.1 h1:J5GSHru6o3jF1uLlEKVXkDxxcVx6yzOlIVIotK4w2po= |
||||
github.com/tdewolff/parse/v2 v2.8.1/go.mod h1:Hwlni2tiVNKyzR1o6nUs4FOF07URA+JLBLd6dlIXYqo= |
||||
github.com/tdewolff/test v1.0.11 h1:FdLbwQVHxqG16SlkGveC0JVyrJN62COWTRyUFzfbtBE= |
||||
github.com/tdewolff/test v1.0.11/go.mod h1:XPuWBzvdUzhCuxWO1ojpXsyzsA5bFoS3tO/Q3kFuTG8= |
||||
github.com/tetratelabs/wazero v1.9.0 h1:IcZ56OuxrtaEz8UYNRHBrUa9bYeX9oVY93KspZZBf/I= |
||||
github.com/tetratelabs/wazero v1.9.0/go.mod h1:TSbcXCfFP0L2FGkRPxHphadXPjo1T6W+CseNNY7EkjM= |
||||
github.com/tidwall/pretty v1.0.0/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk= |
||||
github.com/tursodatabase/libsql-client-go v0.0.0-20240902231107-85af5b9d094d h1:dOMI4+zEbDI37KGb0TI44GUAwxHF9cMsIoDTJ7UmgfU= |
||||
github.com/tursodatabase/libsql-client-go v0.0.0-20240902231107-85af5b9d094d/go.mod h1:l8xTsYB90uaVdMHXMCxKKLSgw5wLYBwBKKefNIUnm9s= |
||||
github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw= |
||||
github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= |
||||
github.com/valyala/fasthttp v1.62.0 h1:8dKRBX/y2rCzyc6903Zu1+3qN0H/d2MsxPPmVNamiH0= |
||||
github.com/valyala/fasthttp v1.62.0/go.mod h1:FCINgr4GKdKqV8Q0xv8b+UxPV+H/O5nNFo3D+r54Htg= |
||||
github.com/vertica/vertica-sql-go v1.3.3 h1:fL+FKEAEy5ONmsvya2WH5T8bhkvY27y/Ik3ReR2T+Qw= |
||||
github.com/vertica/vertica-sql-go v1.3.3/go.mod h1:jnn2GFuv+O2Jcjktb7zyc4Utlbu9YVqpHH/lx63+1M4= |
||||
github.com/xdg-go/pbkdf2 v1.0.0/go.mod h1:jrpuAogTd400dnrH08LKmI/xc1MbPOebTwRqcT5RDeI= |
||||
github.com/xdg-go/scram v1.1.1/go.mod h1:RaEWvsqvNKKvBPvcKeFjrG2cJqOkHTiyTpzz23ni57g= |
||||
github.com/xdg-go/stringprep v1.0.3/go.mod h1:W3f5j4i+9rC0kuIEJL0ky1VpHXQU3ocBgklLGvcBnW8= |
||||
github.com/xyproto/randomstring v1.0.5 h1:YtlWPoRdgMu3NZtP45drfy1GKoojuR7hmRcnhZqKjWU= |
||||
github.com/xyproto/randomstring v1.0.5/go.mod h1:rgmS5DeNXLivK7YprL0pY+lTuhNQW3iGxZ18UQApw/E= |
||||
github.com/ydb-platform/ydb-go-genproto v0.0.0-20241112172322-ea1f63298f77 h1:LY6cI8cP4B9rrpTleZk95+08kl2gF4rixG7+V/dwL6Q= |
||||
github.com/ydb-platform/ydb-go-genproto v0.0.0-20241112172322-ea1f63298f77/go.mod h1:Er+FePu1dNUieD+XTMDduGpQuCPssK5Q4BjF+IIXJ3I= |
||||
github.com/ydb-platform/ydb-go-sdk/v3 v3.108.1 h1:ixAiqjj2S/dNuJqrz4AxSqgw2P5OBMXp68hB5nNriUk= |
||||
github.com/ydb-platform/ydb-go-sdk/v3 v3.108.1/go.mod h1:l5sSv153E18VvYcsmr51hok9Sjc16tEC8AXGbwrk+ho= |
||||
github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d/go.mod h1:rHwXgn7JulP+udvsHwJoVG1YGAP6VLg4y9I5dyZdqmA= |
||||
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= |
||||
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= |
||||
github.com/yuin/goldmark v1.7.13 h1:GPddIs617DnBLFFVJFgpo1aBfe/4xcvMc3SB5t/D0pA= |
||||
github.com/yuin/goldmark v1.7.13/go.mod h1:ip/1k0VRfGynBgxOz0yCqHrbZXhcjxyuS66Brc7iBKg= |
||||
github.com/yuin/goldmark-emoji v1.0.6 h1:QWfF2FYaXwL74tfGOW5izeiZepUDroDJfWubQI9HTHs= |
||||
github.com/yuin/goldmark-emoji v1.0.6/go.mod h1:ukxJDKFpdFb5x0a5HqbdlcKtebh086iJpI31LTKmWuA= |
||||
github.com/ziutek/mymysql v1.5.4 h1:GB0qdRGsTwQSBVYuVShFBKaXSnSnYYC2d9knnE1LHFs= |
||||
github.com/ziutek/mymysql v1.5.4/go.mod h1:LMSpPZ6DbqWFxNCHW77HeMg9I646SAhApZ/wKdgO/C0= |
||||
go.mongodb.org/mongo-driver v1.11.4/go.mod h1:PTSz5yu21bkT/wXpkS7WR5f0ddqw5quethTUn9WM+2g= |
||||
go.opentelemetry.io/auto/sdk v1.1.0 h1:cH53jehLUN6UFLY71z+NDOiNJqDdPRaXzTel0sJySYA= |
||||
go.opentelemetry.io/auto/sdk v1.1.0/go.mod h1:3wSPjt5PWp2RhlCcmmOial7AvC4DQqZb7a7wCow3W8A= |
||||
go.opentelemetry.io/otel v1.35.0 h1:xKWKPxrxB6OtMCbmMY021CqC45J+3Onta9MqjhnusiQ= |
||||
go.opentelemetry.io/otel v1.35.0/go.mod h1:UEqy8Zp11hpkUrL73gSlELM0DupHoiq72dR+Zqel/+Y= |
||||
go.opentelemetry.io/otel/metric v1.35.0 h1:0znxYu2SNyuMSQT4Y9WDWej0VpcsxkuklLa4/siN90M= |
||||
go.opentelemetry.io/otel/metric v1.35.0/go.mod h1:nKVFgxBZ2fReX6IlyW28MgZojkoAkJGaE8CpgeAU3oE= |
||||
go.opentelemetry.io/otel/sdk v1.34.0 h1:95zS4k/2GOy069d321O8jWgYsW3MzVV+KuSPKp7Wr1A= |
||||
go.opentelemetry.io/otel/sdk v1.34.0/go.mod h1:0e/pNiaMAqaykJGKbi+tSjWfNNHMTxoC9qANsCzbyxU= |
||||
go.opentelemetry.io/otel/sdk/metric v1.34.0 h1:5CeK9ujjbFVL5c1PhLuStg1wxA7vQv7ce1EK0Gyvahk= |
||||
go.opentelemetry.io/otel/sdk/metric v1.34.0/go.mod h1:jQ/r8Ze28zRKoNRdkjCZxfs6YvBTG1+YIqyFVFYec5w= |
||||
go.opentelemetry.io/otel/trace v1.35.0 h1:dPpEfJu1sDIqruz7BHFG3c7528f6ddfSWfFDVt/xgMs= |
||||
go.opentelemetry.io/otel/trace v1.35.0/go.mod h1:WUk7DtFp1Aw2MkvqGdwiXYDZZNvA/1J8o6xRXLrIkyc= |
||||
go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= |
||||
go.uber.org/mock v0.4.0 h1:VcM4ZOtdbR4f6VXfiOpwpVJDL6lCReaZ6mw31wqh7KU= |
||||
go.uber.org/mock v0.4.0/go.mod h1:a6FSlNadKUHUa9IP5Vyt1zh4fC7uAwxMutEAscFbkZc= |
||||
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= |
||||
go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= |
||||
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= |
||||
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= |
||||
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= |
||||
golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= |
||||
golang.org/x/crypto v0.40.0 h1:r4x+VvoG5Fm+eJcxMaY8CQM7Lb0l1lsmjGBQ6s8BfKM= |
||||
golang.org/x/crypto v0.40.0/go.mod h1:Qr1vMER5WyS2dfPHAlsOj01wgLbsyWtFn/aY+5+ZdxY= |
||||
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= |
||||
golang.org/x/exp v0.0.0-20250531010427-b6e5de432a8b h1:QoALfVG9rhQ/M7vYDScfPdWjGL9dlsVVM5VGh7aKoAA= |
||||
golang.org/x/exp v0.0.0-20250531010427-b6e5de432a8b/go.mod h1:U6Lno4MTRCDY+Ba7aCcauB9T60gsv5s4ralQzP72ZoQ= |
||||
golang.org/x/image v0.27.0 h1:C8gA4oWU/tKkdCfYT6T2u4faJu3MeNS5O8UPWlPF61w= |
||||
golang.org/x/image v0.27.0/go.mod h1:xbdrClrAUway1MUTEZDq9mz/UpRwYAkFFNUslZtcB+g= |
||||
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= |
||||
golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= |
||||
golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= |
||||
golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= |
||||
golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= |
||||
golang.org/x/mod v0.26.0 h1:EGMPT//Ezu+ylkCijjPc+f4Aih7sZvaAr+O3EHBxvZg= |
||||
golang.org/x/mod v0.26.0/go.mod h1:/j6NAhSk8iQ723BGAUyoAcn7SlD7s15Dp9Nd/SfeaFQ= |
||||
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= |
||||
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= |
||||
golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= |
||||
golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= |
||||
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= |
||||
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= |
||||
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= |
||||
golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= |
||||
golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= |
||||
golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= |
||||
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= |
||||
golang.org/x/net v0.42.0 h1:jzkYrhi3YQWD6MLBJcsklgQsoAcw89EcZbJw8Z614hs= |
||||
golang.org/x/net v0.42.0/go.mod h1:FF1RA5d3u7nAYA4z2TkclSCKh68eSXtiFwcWQpPXdt8= |
||||
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= |
||||
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= |
||||
golang.org/x/pkgsite v0.0.0-20250721174030-d4de6668b910 h1:pVfSCzQYqJGWW9yuI25d4eDh7kzYPKCIl2l3kKOquq4= |
||||
golang.org/x/pkgsite v0.0.0-20250721174030-d4de6668b910/go.mod h1:lHdU14GvKhxtIb9U1NN0ss4Ns49PaAz8Ecq/I97LUwI= |
||||
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= |
||||
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= |
||||
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= |
||||
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= |
||||
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= |
||||
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= |
||||
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= |
||||
golang.org/x/sync v0.16.0 h1:ycBJEhp9p4vXvUZNszeOq0kGTPghopOL8q0fq3vstxw= |
||||
golang.org/x/sync v0.16.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA= |
||||
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= |
||||
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= |
||||
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= |
||||
golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= |
||||
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= |
||||
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= |
||||
golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= |
||||
golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= |
||||
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= |
||||
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= |
||||
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= |
||||
golang.org/x/sys v0.34.0 h1:H5Y5sJ2L2JRdyv7ROF1he/lPdvFsd0mJHFw2ThKHxLA= |
||||
golang.org/x/sys v0.34.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k= |
||||
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= |
||||
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= |
||||
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= |
||||
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= |
||||
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= |
||||
golang.org/x/text v0.27.0 h1:4fGWRpyh641NLlecmyl4LOe6yDdfaYNrGb2zdfo4JV4= |
||||
golang.org/x/text v0.27.0/go.mod h1:1D28KMCvyooCX9hBiosv5Tz/+YLxj0j7XhWjpSUF7CU= |
||||
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= |
||||
golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= |
||||
golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= |
||||
golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= |
||||
golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= |
||||
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= |
||||
golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= |
||||
golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= |
||||
golang.org/x/tools v0.35.0 h1:mBffYraMEf7aa0sB+NuKnuCy8qI/9Bughn8dC2Gu5r0= |
||||
golang.org/x/tools v0.35.0/go.mod h1:NKdj5HkL/73byiZSJjqJgKn3ep7KjFkBOkR/Hps3VPw= |
||||
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= |
||||
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= |
||||
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= |
||||
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= |
||||
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= |
||||
google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= |
||||
google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= |
||||
google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= |
||||
google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= |
||||
google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= |
||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20250324211829-b45e905df463 h1:e0AIkUUhxyBKh6ssZNrAMeqhA7RKUj42346d1y02i2g= |
||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20250324211829-b45e905df463/go.mod h1:qQ0YXyHHx3XkvlzUtpXDkS29lDSafHMZBAZDc03LQ3A= |
||||
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= |
||||
google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= |
||||
google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= |
||||
google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= |
||||
google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0= |
||||
google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= |
||||
google.golang.org/grpc v1.47.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= |
||||
google.golang.org/grpc v1.71.0 h1:kF77BGdPTQ4/JZWMlb9VpJ5pa25aqvVqogsxNHHdeBg= |
||||
google.golang.org/grpc v1.71.0/go.mod h1:H0GRtasmQOh9LkFoCPDu3ZrwUtD1YGE+b2vYBYd/8Ec= |
||||
google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= |
||||
google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= |
||||
google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= |
||||
google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= |
||||
google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= |
||||
google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= |
||||
google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= |
||||
google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= |
||||
google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= |
||||
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= |
||||
google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= |
||||
google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= |
||||
google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= |
||||
google.golang.org/protobuf v1.36.6 h1:z1NpPI8ku2WgiWnf+t9wTPsn6eP1L7ksHUlkfLvd9xY= |
||||
google.golang.org/protobuf v1.36.6/go.mod h1:jduwjTPXsFjZGTmRluh+L6NjiWu7pchiJ2/5YcXBHnY= |
||||
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= |
||||
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= |
||||
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= |
||||
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= |
||||
gopkg.in/yaml.v1 v1.0.0-20140924161607-9f9df34309c0/go.mod h1:WDnlLJ4WF5VGsH/HVa3CI79GS0ol3YnhVnKP89i0kNg= |
||||
gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= |
||||
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= |
||||
gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= |
||||
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= |
||||
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= |
||||
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= |
||||
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= |
||||
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= |
||||
honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= |
||||
honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= |
||||
howett.net/plist v0.0.0-20181124034731-591f970eefbb/go.mod h1:vMygbs4qMhSZSc4lCUl2OEE+rDiIIJAIdR4m7MiMcm0= |
||||
howett.net/plist v1.0.1 h1:37GdZ8tP09Q35o9ych3ehygcsL+HqKSwzctveSlarvM= |
||||
howett.net/plist v1.0.1/go.mod h1:lqaXoTrLY4hg8tnEzNru53gicrbv7rrk+2xJA/7hw9g= |
||||
modernc.org/cc/v4 v4.26.0 h1:QMYvbVduUGH0rrO+5mqF/PSPPRZNpRtg2CLELy7vUpA= |
||||
modernc.org/cc/v4 v4.26.0/go.mod h1:uVtb5OGqUKpoLWhqwNQo/8LwvoiEBLvZXIQ/SmO6mL0= |
||||
modernc.org/ccgo/v4 v4.26.0 h1:gVzXaDzGeBYJ2uXTOpR8FR7OlksDOe9jxnjhIKCsiTc= |
||||
modernc.org/ccgo/v4 v4.26.0/go.mod h1:Sem8f7TFUtVXkG2fiaChQtyyfkqhJBg/zjEJBkmuAVY= |
||||
modernc.org/fileutil v1.3.1 h1:8vq5fe7jdtEvoCf3Zf9Nm0Q05sH6kGx0Op2CPx1wTC8= |
||||
modernc.org/fileutil v1.3.1/go.mod h1:HxmghZSZVAz/LXcMNwZPA/DRrQZEVP9VX0V4LQGQFOc= |
||||
modernc.org/gc/v2 v2.6.5 h1:nyqdV8q46KvTpZlsw66kWqwXRHdjIlJOhG6kxiV/9xI= |
||||
modernc.org/gc/v2 v2.6.5/go.mod h1:YgIahr1ypgfe7chRuJi2gD7DBQiKSLMPgBQe9oIiito= |
||||
modernc.org/libc v1.65.0 h1:e183gLDnAp9VJh6gWKdTy0CThL9Pt7MfcR/0bgb7Y1Y= |
||||
modernc.org/libc v1.65.0/go.mod h1:7m9VzGq7APssBTydds2zBcxGREwvIGpuUBaKTXdm2Qs= |
||||
modernc.org/mathutil v1.7.1 h1:GCZVGXdaN8gTqB1Mf/usp1Y/hSqgI2vAGGP4jZMCxOU= |
||||
modernc.org/mathutil v1.7.1/go.mod h1:4p5IwJITfppl0G4sUEDtCr4DthTaT47/N3aT6MhfgJg= |
||||
modernc.org/memory v1.10.0 h1:fzumd51yQ1DxcOxSO+S6X7+QTuVU+n8/Aj7swYjFfC4= |
||||
modernc.org/memory v1.10.0/go.mod h1:/JP4VbVC+K5sU2wZi9bHoq2MAkCnrt2r98UGeSK7Mjw= |
||||
modernc.org/opt v0.1.4 h1:2kNGMRiUjrp4LcaPuLY2PzUfqM/w9N23quVwhKt5Qm8= |
||||
modernc.org/opt v0.1.4/go.mod h1:03fq9lsNfvkYSfxrfUhZCWPk1lm4cq4N+Bh//bEtgns= |
||||
modernc.org/sortutil v1.2.1 h1:+xyoGf15mM3NMlPDnFqrteY07klSFxLElE2PVuWIJ7w= |
||||
modernc.org/sortutil v1.2.1/go.mod h1:7ZI3a3REbai7gzCLcotuw9AC4VZVpYMjDzETGsSMqJE= |
||||
modernc.org/sqlite v1.37.0 h1:s1TMe7T3Q3ovQiK2Ouz4Jwh7dw4ZDqbebSDTlSJdfjI= |
||||
modernc.org/sqlite v1.37.0/go.mod h1:5YiWv+YviqGMuGw4V+PNplcyaJ5v+vQd7TQOgkACoJM= |
||||
modernc.org/strutil v1.2.1 h1:UneZBkQA+DX2Rp35KcM69cSsNES9ly8mQWD71HKlOA0= |
||||
modernc.org/strutil v1.2.1/go.mod h1:EHkiggD70koQxjVdSBM3JKM7k6L0FbGE5eymy9i3B9A= |
||||
modernc.org/token v1.1.0 h1:Xl7Ap9dKaEs5kLoOQeQmPWevfnk/DM5qcLcYlA8ys6Y= |
||||
modernc.org/token v1.1.0/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM= |
||||
rsc.io/markdown v0.0.0-20231214224604-88bb533a6020 h1:GqQcl3Kno/rOntek8/d8axYjau8r/c1zVFojXS6WJFI= |
||||
rsc.io/markdown v0.0.0-20231214224604-88bb533a6020/go.mod h1:8xcPgWmwlZONN1D9bjxtHEjrUtSEa3fakVF8iaewYKQ= |
||||
rsc.io/qr v0.2.0 h1:6vBLea5/NRMVTz8V66gipeLycZMl/+UlFmk8DvqQ6WY= |
||||
rsc.io/qr v0.2.0/go.mod h1:IF+uZjkb9fqyeF/4tlBoynqmQxUoPfWEKh921coOuXs= |
@ -0,0 +1,62 @@ |
||||
package main |
||||
|
||||
import ( |
||||
"log" |
||||
"os" |
||||
"os/signal" |
||||
"syscall" |
||||
"github.com/gofiber/fiber/v2" |
||||
"github.com/gofiber/fiber/v2/middleware/logger" |
||||
"github.com/gofiber/template/html/v2" |
||||
|
||||
_ "github.com/mattn/go-sqlite3" |
||||
recov "github.com/gofiber/fiber/v2/middleware/recover" |
||||
|
||||
"zedshaw.games/webapp/api" |
||||
"zedshaw.games/webapp/data" |
||||
"zedshaw.games/webapp/config" |
||||
"zedshaw.games/webapp/admin" |
||||
) |
||||
|
||||
func main() { |
||||
config.Load("config.toml") |
||||
log.Printf("ADMIN is %s", config.Settings.Admin) |
||||
|
||||
log.SetFlags(log.LstdFlags | log.Lshortfile) |
||||
|
||||
engine := html.New(config.Settings.Views, ".html") |
||||
engine.Reload(true) |
||||
|
||||
app := fiber.New(fiber.Config{ |
||||
Views: engine, |
||||
ViewsLayout: config.Settings.Layouts, |
||||
CaseSensitive: true, |
||||
StrictRouting: true, |
||||
}) |
||||
|
||||
app.Use(logger.New()) |
||||
app.Use(recov.New()) |
||||
|
||||
data.Setup(config.Settings.Database.Driver, config.Settings.Database.Url) |
||||
api.Setup(app) |
||||
admin.Setup(app) |
||||
|
||||
// this sets up graceful shutdown
|
||||
go func() { |
||||
if err := app.Listen(config.Settings.Port); err != nil { |
||||
log.Panic(err) |
||||
} |
||||
}() |
||||
|
||||
c := make(chan os.Signal, 1) |
||||
signal.Notify(c, os.Interrupt, syscall.SIGINT, syscall.SIGTERM) |
||||
|
||||
_ = <-c |
||||
log.Println("Shutdown now...") |
||||
_ = app.Shutdown() |
||||
|
||||
api.Shutdown() |
||||
data.Shutdown() |
||||
|
||||
log.Println("Done.") |
||||
} |
@ -0,0 +1,9 @@ |
||||
-- +goose Up |
||||
-- +goose StatementBegin |
||||
CREATE TABLE user (id INTEGER PRIMARY KEY, username TEXT UNIQUE NOT NULL, email TEXT UNIQUE, password TEXT NOT NULL); |
||||
-- +goose StatementEnd |
||||
|
||||
-- +goose Down |
||||
-- +goose StatementBegin |
||||
DROP TABLE user; |
||||
-- +goose StatementEnd |
@ -0,0 +1,5 @@ |
||||
# About Me |
||||
|
||||
My name is Zed A. Shaw. I'm the author of Learn Python the Hardway, and many other books. I started |
||||
making games in 2025 using a variety of languages. What you're seeing here is the result of this |
||||
year's work. |
@ -0,0 +1,2 @@ |
||||
<h1>ERROR</h1> |
||||
<p>You have an error.</p> |
@ -0,0 +1,91 @@ |
||||
<div class="text-gray-950"> |
||||
<bar class="justify-between"> |
||||
<img src="/icons/cup-soda.svg" alt="Home" /> |
||||
<img src="/icons/bell.svg" alt="Home" /> |
||||
<img src="/icons/menu.svg" alt="Home" /> |
||||
</bar> |
||||
|
||||
<block class="gap-10"> |
||||
<div class="flex text-2xl gap-4"> |
||||
<img src="/icons/baby.svg" /> |
||||
<a href="#">learn-code-the-hard-way</a> / <a href="#">ssgod</a> |
||||
</div> |
||||
|
||||
<bar> |
||||
<button>Unwatch</button> |
||||
<button>Start</button> |
||||
<button>Fork</button> |
||||
</bar> |
||||
</block> |
||||
|
||||
<block> |
||||
<bar class="border-b-1 border-gray-500 pb-3 *:text-nowrap"> |
||||
<button>Code</button> |
||||
<button>Issues</button> |
||||
<button>Pull Requests</button> |
||||
<button>Packages</button> |
||||
<button>Projects</button> |
||||
<button>Releases</button> |
||||
<button>Wiki</button> |
||||
</bar> |
||||
<block> |
||||
<p class="text-2xl">SSG is a Static Site Generator that is only a Static Site Generator. No resumes here! Just a piece of code that generates static files from templates for websites, and can do it live while you develop said templates.</p> |
||||
|
||||
<h3 class="text-xl!">Manage Topics</h3> |
||||
<toolbar class="flex justify-between"> |
||||
<span><img class="inline" src="/icons/timer.svg" /> 21 Commits</span> |
||||
<span><img class="inline" src="/icons/git-branch.svg" /> 1 Branch</span> |
||||
<span><img class="inline" src="/icons/tag.svg" /> 0 Tags</span> |
||||
<span><img class="inline" src="/icons/database.svg" /> 589 KiB</span> |
||||
</toolbar> |
||||
</block> |
||||
|
||||
<hr class="pb-6"/> |
||||
|
||||
<block class="rounded-md border-1 border-gray-300 p-0!"> |
||||
<bar class="p-2! w-full justify-between border-b-1 border-gray-300"> |
||||
<span><img class="inline" src="/icons/baby.svg"> Name</span> |
||||
<span>Time</span> |
||||
</bar> |
||||
<bar class="p-2! w-full justify-between border-b-1 border-gray-300"> |
||||
<span><img class="inline" src="/icons/baby.svg"> Name</span> |
||||
<span>Time</span> |
||||
</bar> |
||||
<bar class="p-2! w-full justify-between border-b-1 border-gray-300"> |
||||
<span><img class="inline" src="/icons/baby.svg"> Name</span> |
||||
<span>Time</span> |
||||
</bar> |
||||
<bar class="p-2! w-full justify-between border-b-1 border-gray-300"> |
||||
<span><img class="inline" src="/icons/baby.svg"> Name</span> |
||||
<span>Time</span> |
||||
</bar> |
||||
<bar class="p-2! w-full justify-between border-b-1 border-gray-300"> |
||||
<span><img class="inline" src="/icons/baby.svg"> Name</span> |
||||
<span>Time</span> |
||||
</bar> |
||||
<bar class="p-2! w-full justify-between border-b-1 border-gray-300"> |
||||
<span><img class="inline" src="/icons/baby.svg"> Name</span> |
||||
<span>Time</span> |
||||
</bar> |
||||
<bar class="p-2! w-full justify-between border-b-1 border-gray-300"> |
||||
<span><img class="inline" src="/icons/baby.svg"> Name</span> |
||||
<span>Time</span> |
||||
</bar> |
||||
<bar class="p-2! w-full justify-between border-b-1 border-gray-300"> |
||||
<span><img class="inline" src="/icons/baby.svg"> Name</span> |
||||
<span>Time</span> |
||||
</bar> |
||||
<bar class="p-2! w-full justify-between border-b-1 border-gray-300"> |
||||
<span><img class="inline" src="/icons/baby.svg"> Name</span> |
||||
<span>Time</span> |
||||
</bar> |
||||
<bar class="p-2! w-full justify-between border-b-1 border-gray-300"> |
||||
<span><img class="inline" src="/icons/baby.svg"> Name</span> |
||||
<span>Time</span> |
||||
</bar> |
||||
<bar class="p-2! w-full justify-between border-b-1 border-gray-300"> |
||||
<span><img class="inline" src="/icons/baby.svg"> Name</span> |
||||
<span>Time</span> |
||||
</bar> |
||||
</block> |
||||
</div> |
@ -0,0 +1,24 @@ |
||||
<style> |
||||
@import "/style.css"; |
||||
</style> |
||||
<main class="flex flex-col p-4 min-h-screen bg-gray-100 text-gray-950 dark:bg-gray-900 dark:text-gray-50 gap-4! *:text-xl"> |
||||
<h1 class="pb-10!">Copying Popular Websites to Learn Tailwind</h1> |
||||
|
||||
<p>I've advocated for years that copying other websites is the best way to learn web design. Copying is a <b>very</b> common and established way to learn almost any creative discipline including (but not limited to): Painting, Drawing, Writing, Music, Wood Working, Lutherie, Design, and Programming. To demonstrate this I've been doing copies of websites to learn <a class="text-gray-950 bg-gray-300" href="https://tailwindcss.com/">Tailwind</a>. |
||||
</p> |
||||
|
||||
<h2 class="pb-8">Current Examples</h2> |
||||
<p>Here's the ones I've done so far</p> |
||||
|
||||
<ul class="p-4"> |
||||
<li><a class="text-gray-950 bg-gray-300" href="/copy/gitea.html">Gitea Project Page</a></li> |
||||
<li><a class="text-gray-950 bg-gray-300" href="/copy/linkedin.html">Linkedin Mobile</a></li> |
||||
<li><a class="text-gray-950 bg-gray-300" href="/copy/stride.html">Stride Game Framework</a></li> |
||||
<li><a class="text-gray-950 bg-gray-300" href="/copy/twitch.html">Twitch Home Page</a></li> |
||||
</ul> |
||||
|
||||
<h2 class="pb-8">View the Code</h2> |
||||
<p>You can view this code at <a class="text-gray-950 bg-gray-300" href="https://git.learnjsthehardway.com/learn-code-the-hard-way/zedshaw-games">my git repository</a>. The copies can be found in <a class="text-gray-950 bg-gray-300" href="https://git.learnjsthehardway.com/learn-code-the-hard-way/zedshaw-games/src/branch/main/pages/copy">pages/copy</a> and the tool I use to generate the pages is one I wrote called <a class="text-gray-950 bg-gray-300" href="https://git.learnjsthehardway.com/learn-code-the-hard-way/ssgod">ssgod</a>. |
||||
</p> |
||||
|
||||
</main> |
@ -0,0 +1,154 @@ |
||||
<main class="!p-4"> |
||||
<h1>Sample Components</h1> |
||||
<p>This is a list of components I've made for making websites quicker. They're just pre-styled things you commonly need to do HTML first layouts and designs.</p> |
||||
|
||||
<h2>Shapes</h2> |
||||
|
||||
<shape class="xs"> |
||||
I'm a placeholder. |
||||
</shape> |
||||
|
||||
<h2>Grids</h2> |
||||
|
||||
<grid class="grid-cols-2"> |
||||
<shape class="xxs">0,0</shape> |
||||
<shape class="xxs">1,0</shape> |
||||
<shape class="xxs">0,1</shape> |
||||
<shape class="xxs">1,1</shape> |
||||
</grid> |
||||
|
||||
<h2>Blocks & Bars</h2> |
||||
|
||||
<block> |
||||
<p>Use a block to automatically flex content vertically.</p> |
||||
<p>Like these two lines are done.</p> |
||||
<bar class="rounded-lg border-1 border-gray-300"> |
||||
<shape class="xxs">Image</shape> |
||||
<p>Use a bar to flex things horizontally.</p> |
||||
</bar> |
||||
|
||||
<bar class="flex-end rounded-lg border-1 border-gray-300"> |
||||
<shape class="xxs">Image</shape> |
||||
<block> |
||||
<span>You can also combine them in arbitrary ways to layout your content.</span> |
||||
</block> |
||||
<grid class="grid-cols-2"> |
||||
<shape class="tiny">1</shape> |
||||
<shape class="tiny">2</shape> |
||||
<shape class="tiny">3</shape> |
||||
</grid> |
||||
</bar> |
||||
</block> |
||||
|
||||
<h2>Stack</h2> |
||||
|
||||
<p>A stack lets you place multiple elements on top of eachother, like with layers in nearly every single layout composition system in existence for the last 500 years.</p> |
||||
|
||||
<stack> |
||||
<shape class="xs">I'm on bottom</shape> |
||||
<h1 class="text-red-500">Hello</h1> |
||||
<h2 class="text-orange-500">There</h2> |
||||
</stack> |
||||
|
||||
<h2>Code</h2> |
||||
|
||||
<pre><code>if(var != 'string') { |
||||
console.log("test"); |
||||
} |
||||
</code></pre> |
||||
|
||||
<p>You should type <code>ls -l</code> to list the directory.</p> |
||||
|
||||
<code>if(var != 'string')</code> |
||||
|
||||
<h2>Highlight/Marking</h2> |
||||
|
||||
<aside> |
||||
<mark>Default</mark> |
||||
<span>This is an aside. You use it to call out something specific.</span> |
||||
</aside> |
||||
|
||||
<aside> |
||||
<mark class="info">Info</mark> |
||||
<span>This is an aside. You use it to call out something specific.</span> |
||||
</aside> |
||||
|
||||
<aside> |
||||
<mark class="warning">Warning</mark> |
||||
<span>A warning aside.</span> |
||||
</aside> |
||||
|
||||
<aside> |
||||
<mark class="alert">Alert</mark> |
||||
<span>An alert aside.</span> |
||||
</aside> |
||||
|
||||
<p>This is some <mark>marked</mark> text.</p> |
||||
|
||||
<h2>Details</h2> |
||||
|
||||
<details aria-label="Sample"> |
||||
<summary>Details Test</summary> |
||||
A test of the details thing. |
||||
</details> |
||||
|
||||
<h2>Forms</h2> |
||||
|
||||
<form> |
||||
<card> |
||||
<top>Test Form</top> |
||||
|
||||
<middle> |
||||
<label for="fruit">What Fruit?</label> |
||||
<select id="fruit"> |
||||
<option>Apples</option> |
||||
<option>Oranges</option> |
||||
</select> |
||||
|
||||
<label for="name">Name</label> |
||||
<input id="name" placeholder="Your Name?" /> |
||||
</middle> |
||||
|
||||
<bottom> |
||||
<button>Submit</button> |
||||
</bottom> |
||||
</card> |
||||
</form> |
||||
|
||||
|
||||
<h2>Cards</h2> |
||||
|
||||
<p>Cards organize information vertically.</p> |
||||
|
||||
<card> |
||||
<top><shape class="video">Image</shape></top> |
||||
<middle>This shows a top large image with |
||||
some text in the middle.</middle> |
||||
<bottom><button type="button">An Action</button></bottom> |
||||
</card> |
||||
|
||||
<h2>Header/Nav</h2> |
||||
|
||||
<p>If you put nav inside header it "just works".</p> |
||||
|
||||
<header> |
||||
<nav> |
||||
<a id="home" href="/"> |
||||
<svg xmlns="http://www.w3.org/2000/svg" |
||||
width="2rem" |
||||
height="2rem" |
||||
viewBox="0 0 2rem 2rem"> |
||||
<use href="/icons/home.svg#home" /> |
||||
</svg> |
||||
</a> |
||||
<a id="live" href="#">Live</a> |
||||
<a id="stream" href="#">Streams</a> |
||||
<a id="game" href="#">Games</a> |
||||
<a id="register" href="#">Register</a> |
||||
<a id="login" href="#">Login</a> |
||||
</nav> |
||||
</header> |
||||
|
||||
<p>That's an example of a header with a nav bar in it.</p> |
||||
|
||||
</main> |
@ -0,0 +1,3 @@ |
||||
<div class="text-gray-950"> |
||||
<h1>Hello</h1> |
||||
</div> |
@ -0,0 +1,155 @@ |
||||
<div class="text-gray-950"> |
||||
<bar class="justify-between"> |
||||
<logo><img class="inline" src="/icons/box.svg"/> STRIDE</logo> |
||||
<menu> |
||||
<img src="/icons/menu.svg"/> |
||||
</menu> |
||||
</bar> |
||||
|
||||
<stack> |
||||
<shape class="xxl"></shape> |
||||
|
||||
<block class="justify-end"> |
||||
<h2>Stride Game Engine</h2> |
||||
|
||||
<p>Stride is a free and open-source cross-platform C# game engine.</p> |
||||
|
||||
<p>It is fit for both 2D and 3D games, as well as any other interactive content running on desktop and VR.</p> |
||||
|
||||
<bar> |
||||
<button class="btn-alert"><img class="inline" src="/icons/download.svg"/> Download 4.2</button> |
||||
<button class="btn-primary"><img class="inline" src="/icons/alert-circle.svg" />Donate</button> |
||||
</bar> |
||||
</block> |
||||
</stack> |
||||
|
||||
<block> |
||||
<panel class="gap-5 flex flex-col border-2 shadow-lg border-gray-300"> |
||||
<shape class="video"></shape> |
||||
|
||||
<block class="w-fit"> |
||||
<h3>Bet on the future</h3> |
||||
<ul class="pb-5"> |
||||
<li>Blah blah blah</li> |
||||
<li>Blah blah blah</li> |
||||
<li>Blah blah blah</li> |
||||
<li>Blah blah blah</li> |
||||
<li>Blah blah blah</li> |
||||
</ul> |
||||
|
||||
<button class="btn-alert">Discover more</button> |
||||
</block> |
||||
|
||||
</panel> |
||||
|
||||
<hr class="pb-6"/> |
||||
|
||||
<panel class="gap-5 flex flex-col border-2 shadow-lg border-gray-300"> |
||||
<shape class="video"></shape> |
||||
|
||||
<block class="w-fit"> |
||||
<h3>Bet on the future</h3> |
||||
<ul class="pb-5"> |
||||
<li>Blah blah blah</li> |
||||
<li>Blah blah blah</li> |
||||
<li>Blah blah blah</li> |
||||
<li>Blah blah blah</li> |
||||
<li>Blah blah blah</li> |
||||
</ul> |
||||
|
||||
<button class="btn-alert">Discover more</button> |
||||
</block> |
||||
|
||||
</panel> |
||||
|
||||
<hr class="pb-6" /> |
||||
|
||||
<block class="bg-gray-300 shadow-lg"> |
||||
<h3>Recent blog posts</h3> |
||||
|
||||
<grid class="grid-cols-3"> |
||||
<block class="border-1 border-gray-500"> |
||||
<h5>A look inside</h5> |
||||
<date class="text-sm"><img class="inline" src="/icons/calendar.svg"> April 09, 2025</date> |
||||
|
||||
<p class="pb-4 pt-4">Distant Worlds 2, the sequel to the acclaimed 4X strategy game Distant Worlds: Universe, was developed by Code Force and published by Slitherine. In this blog post, the developers answer key questions from the Stride community, offering insights into their experience using the Stride engine to bring their ambitious galaxy-spanning strategy game to life.</p> |
||||
|
||||
<button class="btn-alert">Read More</button> |
||||
</block> |
||||
|
||||
<block class="border-1 border-gray-500"> |
||||
<h5>A look inside</h5> |
||||
<date class="text-sm"><img class="inline" src="/icons/calendar.svg"> April 09, 2025</date> |
||||
|
||||
<p class="pb-4 pt-4">Distant Worlds 2, the sequel to the acclaimed 4X strategy game Distant Worlds: Universe, was developed by Code Force and published by Slitherine. In this blog post, the developers answer key questions from the Stride community, offering insights into their experience using the Stride engine to bring their ambitious galaxy-spanning strategy game to life.</p> |
||||
|
||||
<button class="btn-alert">Read More</button> |
||||
</block> |
||||
<block class="border-1 border-gray-500"> |
||||
<h5>A look inside</h5> |
||||
<date class="text-sm"><img class="inline" src="/icons/calendar.svg"> April 09, 2025</date> |
||||
|
||||
<p class="pb-4 pt-4">Distant Worlds 2, the sequel to the acclaimed 4X strategy game Distant Worlds: Universe, was developed by Code Force and published by Slitherine. In this blog post, the developers answer key questions from the Stride community, offering insights into their experience using the Stride engine to bring their ambitious galaxy-spanning strategy game to life.</p> |
||||
|
||||
<button class="btn-alert">Read More</button> |
||||
</block> |
||||
|
||||
</grid> |
||||
</block> |
||||
|
||||
<hr class="pb-6"/> |
||||
|
||||
<block class="bg-gray-300 shadow-lg"> |
||||
<h4>Featured Sponsors</h4> |
||||
|
||||
<p>Thanks to our featured sponsors for supporting Stride and empowering creators with the resources they need to bring their visions to life.</p> |
||||
|
||||
<grid class="grid-cols-2"> |
||||
<panel class="flex flex-col border-1 border-gray-500"> |
||||
<div class="w-full aspect-video bg-gray-50"> </div> |
||||
|
||||
<block> |
||||
<p class="text-center"> |
||||
A visual live-programming environment that takes you from rapid prototyping to final production. |
||||
</p> |
||||
</block> |
||||
</panel> |
||||
<panel class="flex flex-col border-1 border-gray-500"> |
||||
<div class="w-full aspect-video bg-gray-50"> </div> |
||||
|
||||
<block> |
||||
<p class="text-center"> |
||||
A visual live-programming environment that takes you from rapid prototyping to final production. |
||||
</p> |
||||
</block> |
||||
</panel> |
||||
</grid> |
||||
</block> |
||||
</block> |
||||
|
||||
<block class="bg-gray-600 text-gray-50"> |
||||
<grid class="grid-cols-2"> |
||||
<shape class="xxs">Content1</shape> |
||||
<shape class="xxs">Content2</shape> |
||||
<shape class="xxs">Content3</shape> |
||||
<shape class="xxs">Content4</shape> |
||||
</grid> |
||||
|
||||
<div class="flex justify-center"> |
||||
<img src="/icons/baby.svg" /> |
||||
<img src="/icons/baby.svg" /> |
||||
<img src="/icons/baby.svg" /> |
||||
<img src="/icons/baby.svg" /> |
||||
<img src="/icons/baby.svg" /> |
||||
<img src="/icons/baby.svg" /> |
||||
<img src="/icons/baby.svg" /> |
||||
<img src="/icons/baby.svg" /> |
||||
</div> |
||||
|
||||
<div class="flex justify-evenly"> |
||||
<span>Supported by the .NET Foundation</span> |
||||
<span>Website v.2.0.0.31</span> |
||||
<span>© .NET Foundation and Contributors</span> |
||||
</div> |
||||
</block> |
||||
</div> |
@ -0,0 +1,203 @@ |
||||
<div class="text-gray-950 bg-gray-200"> |
||||
<bar class="bg-gray-400 justify-evenly items-center"> |
||||
<img src="/icons/twitch.svg" /> |
||||
<span>Browse</span> |
||||
<img src="/icons/menu.svg" /> |
||||
<bar class="p-0! bg-gray-300 rounded-lg border-1 border-gray-700"> |
||||
<input placeholder="Search" /> |
||||
<img src="/icons/search.svg" /> |
||||
</bar> |
||||
<img src="/icons/crown.svg" /> |
||||
<button type="button">Log In</button> |
||||
<button type="button">Sign Up</button> |
||||
<img src="/icons/person-standing.svg" /> |
||||
</bar> |
||||
|
||||
<div class="p-1"> |
||||
<bar> |
||||
<img src="/icons/chevron-left.svg" /> |
||||
|
||||
<shape class="video"> |
||||
Main Video |
||||
</shape> |
||||
|
||||
<img src="/icons/chevron-right.svg" /> |
||||
</bar> |
||||
|
||||
<block> |
||||
<a class="text-xl">Live on Twitch</a> |
||||
<grid class="grid-cols-2 p-0! gap-2"> |
||||
<block class="p-0!"> |
||||
<shape class="video">Sample Video</shape> |
||||
<div class="flex align-top gap-3"> |
||||
<shape class="bg-green-400! top-3 left-3 rounded-full aspect-square! max-w-15 max-h-15">Avatar</shape> |
||||
<div class="flex flex-col gap-1"> |
||||
<span class="font-bold">Title</span> |
||||
<span>Name</span> |
||||
<span>Game Title</span> |
||||
<span> |
||||
<a class="bg-gray-700 text-gray-300 rounded-lg p-1" href="#">Pill</a> |
||||
<a class="bg-gray-700 text-gray-300 rounded-lg p-1" href="#">Pill</a> |
||||
<a class="bg-gray-700 text-gray-300 rounded-lg p-1" href="#">Pill</a> |
||||
<a class="bg-gray-700 text-gray-300 rounded-lg p-1" href="#">Pill</a> |
||||
</span> |
||||
</div> |
||||
</div> |
||||
</block> |
||||
|
||||
<block class="p-0!"> |
||||
<shape class="video">Sample Video</shape> |
||||
<div class="flex align-top gap-3"> |
||||
<shape class="bg-green-400! top-3 left-3 rounded-full aspect-square! max-w-15 max-h-15">Avatar</shape> |
||||
<div class="flex flex-col gap-1"> |
||||
<span class="font-bold">Title</span> |
||||
<span>Name</span> |
||||
<span>Game Title</span> |
||||
<span> |
||||
<a class="bg-gray-700 text-gray-300 rounded-lg p-1" href="#">Pill</a> |
||||
<a class="bg-gray-700 text-gray-300 rounded-lg p-1" href="#">Pill</a> |
||||
<a class="bg-gray-700 text-gray-300 rounded-lg p-1" href="#">Pill</a> |
||||
<a class="bg-gray-700 text-gray-300 rounded-lg p-1" href="#">Pill</a> |
||||
</span> |
||||
</div> |
||||
</div> |
||||
</block> |
||||
</bar> |
||||
</block> |
||||
|
||||
<div class="flex justify-center items-center"> |
||||
<a href="#">Show more v</a> |
||||
</div> |
||||
|
||||
<block> |
||||
<span><a href="#">Categories</a> we think you'll like</span> |
||||
|
||||
<grid class="grid-cols-4 p-0! gap-2"> |
||||
<block class="p-0!"> |
||||
<shape class="aspect-[9/12]!">Category</shape> |
||||
<div class="flex flex-col gap-1"> |
||||
<span class="font-bold">Title</span> |
||||
<span>Name</span> |
||||
<span>Game Title</span> |
||||
<span> |
||||
<a class="bg-gray-700 text-gray-300 rounded-lg p-1" href="#">Pill</a> |
||||
<a class="bg-gray-700 text-gray-300 rounded-lg p-1" href="#">Pill</a> |
||||
<a class="bg-gray-700 text-gray-300 rounded-lg p-1" href="#">Pill</a> |
||||
<a class="bg-gray-700 text-gray-300 rounded-lg p-1" href="#">Pill</a> |
||||
</span> |
||||
</div> |
||||
</block> |
||||
<block class="p-0!"> |
||||
<shape class="aspect-[9/12]!">Category</shape> |
||||
<div class="flex flex-col gap-1"> |
||||
<span class="font-bold">Title</span> |
||||
<span>Name</span> |
||||
<span>Game Title</span> |
||||
<span> |
||||
<a class="bg-gray-700 text-gray-300 rounded-lg p-1" href="#">Pill</a> |
||||
<a class="bg-gray-700 text-gray-300 rounded-lg p-1" href="#">Pill</a> |
||||
<a class="bg-gray-700 text-gray-300 rounded-lg p-1" href="#">Pill</a> |
||||
<a class="bg-gray-700 text-gray-300 rounded-lg p-1" href="#">Pill</a> |
||||
</span> |
||||
</div> |
||||
</block> |
||||
<block class="p-0!"> |
||||
<shape class="aspect-[9/12]!">Category</shape> |
||||
<div class="flex flex-col gap-1"> |
||||
<span class="font-bold">Title</span> |
||||
<span>Name</span> |
||||
<span>Game Title</span> |
||||
<span> |
||||
<a class="bg-gray-700 text-gray-300 rounded-lg p-1" href="#">Pill</a> |
||||
<a class="bg-gray-700 text-gray-300 rounded-lg p-1" href="#">Pill</a> |
||||
<a class="bg-gray-700 text-gray-300 rounded-lg p-1" href="#">Pill</a> |
||||
<a class="bg-gray-700 text-gray-300 rounded-lg p-1" href="#">Pill</a> |
||||
</span> |
||||
</div> |
||||
</block> |
||||
<block class="p-0!"> |
||||
<shape class="aspect-[9/12]!">Category</shape> |
||||
<div class="flex flex-col gap-1"> |
||||
<span class="font-bold">Title</span> |
||||
<span>Name</span> |
||||
<span>Game Title</span> |
||||
<span> |
||||
<a class="bg-gray-700 text-gray-300 rounded-lg p-1" href="#">Pill</a> |
||||
<a class="bg-gray-700 text-gray-300 rounded-lg p-1" href="#">Pill</a> |
||||
<a class="bg-gray-700 text-gray-300 rounded-lg p-1" href="#">Pill</a> |
||||
<a class="bg-gray-700 text-gray-300 rounded-lg p-1" href="#">Pill</a> |
||||
</span> |
||||
</div> |
||||
</block> |
||||
</grid> |
||||
</block> |
||||
|
||||
<grid class="grid-cols-3"> |
||||
<stack class="p-0!"> |
||||
<button type="button" class="rounded-xxl text-left text-xxl">Games</button> |
||||
<img class="left-40 bottom-6 max-w-20 max-h-20" src="/icons/gamepad.svg" /> |
||||
</stack> |
||||
<stack class="p-0!"> |
||||
<button type="button" class="rounded-xxl text-left text-xxl">IRL</button> |
||||
<img class="left-40 bottom-6 max-w-20 max-h-20" src="/icons/mic.svg" /> |
||||
</stack> |
||||
<stack class="p-0!"> |
||||
<button type="button" class="rounded-xxl text-left text-xxl">Music</button> |
||||
<img class="left-40 bottom-6 max-w-20 max-h-20" src="/icons/headphones.svg" /> |
||||
</stack> |
||||
<stack class="p-0!"> |
||||
<button type="button" class="rounded-xxl text-left text-xxl">Creative</button> |
||||
<img class="left-40 bottom-6 max-w-20 max-h-20" src="/icons/paintbrush.svg" /> |
||||
</stack> |
||||
<stack class="p-0!"> |
||||
<button type="button" class="rounded-xxl text-left text-xxl">Esports</button> |
||||
<img class="left-40 bottom-6 max-w-20 max-h-20" src="/icons/trophy.svg" /> |
||||
</stack> |
||||
</grid> |
||||
|
||||
<block> |
||||
<a class="text-xl">Live on Twitch</a> |
||||
<grid class="grid-cols-2 p-0! gap-2"> |
||||
<block class="p-0!"> |
||||
<shape class="video">Sample Video</shape> |
||||
<div class="flex align-top gap-3"> |
||||
<shape class="bg-green-400! top-3 left-3 rounded-full aspect-square! max-w-15 max-h-15">Avatar</shape> |
||||
<div class="flex flex-col gap-1"> |
||||
<span class="font-bold">Title</span> |
||||
<span>Name</span> |
||||
<span>Game Title</span> |
||||
<span> |
||||
<a class="bg-gray-700 text-gray-300 rounded-lg p-1" href="#">Pill</a> |
||||
<a class="bg-gray-700 text-gray-300 rounded-lg p-1" href="#">Pill</a> |
||||
<a class="bg-gray-700 text-gray-300 rounded-lg p-1" href="#">Pill</a> |
||||
<a class="bg-gray-700 text-gray-300 rounded-lg p-1" href="#">Pill</a> |
||||
</span> |
||||
</div> |
||||
</div> |
||||
</block> |
||||
|
||||
<block class="p-0!"> |
||||
<shape class="video">Sample Video</shape> |
||||
<div class="flex align-top gap-3"> |
||||
<shape class="bg-green-400! top-3 left-3 rounded-full aspect-square! max-w-15 max-h-15">Avatar</shape> |
||||
<div class="flex flex-col gap-1"> |
||||
<span class="font-bold">Title</span> |
||||
<span>Name</span> |
||||
<span>Game Title</span> |
||||
<span> |
||||
<a class="bg-gray-700 text-gray-300 rounded-lg p-1" href="#">Pill</a> |
||||
<a class="bg-gray-700 text-gray-300 rounded-lg p-1" href="#">Pill</a> |
||||
<a class="bg-gray-700 text-gray-300 rounded-lg p-1" href="#">Pill</a> |
||||
<a class="bg-gray-700 text-gray-300 rounded-lg p-1" href="#">Pill</a> |
||||
</span> |
||||
</div> |
||||
</div> |
||||
</block> |
||||
</bar> |
||||
</block> |
||||
|
||||
<block class="justify-center items-center"> |
||||
<h4>an amazon company</h4> |
||||
</block> |
||||
</div> |
||||
</div> |
@ -0,0 +1,4 @@ |
||||
<h1>Go Web Dev Starter Kit</h1> |
||||
<block> |
||||
Instructions coming soon... |
||||
</block> |
@ -0,0 +1,15 @@ |
||||
<!DOCTYPE html> |
||||
<html lang="en"> |
||||
<head> |
||||
<meta charset="utf-8" /> |
||||
<meta name="viewport" content="width=device-width" /> |
||||
<meta name="viewport" content="initial-scale=1.0" /> |
||||
<meta name="author" content="Zed A. Shaw" /> |
||||
<meta name="description" content="My Go learning project, which is a Twitch support thing." /> |
||||
<link rel="stylesheet" href="/style.css" /> |
||||
<title>ZedShaw.games</title> |
||||
</head> |
||||
<body> |
||||
{{embed}} |
||||
</body> |
||||
</html> |
@ -0,0 +1,48 @@ |
||||
<!DOCTYPE html> |
||||
<html lang="en"> |
||||
<head> |
||||
<meta charset="utf-8" /> |
||||
<meta name="viewport" content="width=device-width" /> |
||||
<meta name="viewport" content="initial-scale=1.0" /> |
||||
<meta name="author" content="Zed A. Shaw" /> |
||||
<meta name="description" content="My Go learning project, which is a Twitch support thing." /> |
||||
<link rel="icon" href="/favicon.ico" type="image/x-icon" /> |
||||
<link rel="stylesheet" href="/style.css"> |
||||
<script defer src="/js/alpine.js"></script> |
||||
<script src="/js/code.js"></script> |
||||
<title>ZedShaw.games</title> |
||||
</head> |
||||
<body data-testid="{{.PageId}}"> |
||||
<header> |
||||
<nav> |
||||
<a id="home" href="/"> |
||||
<svg xmlns="http://www.w3.org/2000/svg" |
||||
width="2rem" |
||||
height="2rem" |
||||
viewBox="0 0 2rem 2rem"> |
||||
<use href="/icons/home.svg#home" /> |
||||
</svg> |
||||
</a> |
||||
<a id="register" href="/register/">Register</a> |
||||
<a id="login" href="/login/">Login</a> |
||||
</nav> |
||||
</header> |
||||
|
||||
<main> |
||||
{{embed}} |
||||
</main> |
||||
|
||||
<footer> |
||||
<div class="flex-1"> |
||||
<img class="size-12 shrink-0" src="/logo.png" /> |
||||
<div> |
||||
<p>Blah blah about me.</p> |
||||
</div> |
||||
</div> |
||||
<div class="flex-1"> |
||||
<h3 class="text-3xl">Other Projects</h3> |
||||
<p>Some other links to stuff.</p> |
||||
</div> |
||||
</footer> |
||||
</body> |
||||
</html> |
@ -0,0 +1,18 @@ |
||||
<div class="flex flex-col items-center p-6"> |
||||
<form action="/api/login" method="POST"> |
||||
<card> |
||||
<top><h2 style="color: white">Login</h2></top> |
||||
<middle> |
||||
<label for="username">Username</label> |
||||
<input id="username" name="username" placeholder="Username" type="text"> |
||||
<label for="password">Password</label> |
||||
<input id="password" name="password" placeholder="Password" type="password"> |
||||
</middle> |
||||
<bottom> |
||||
<button class="hover:btn-alert" type="button">Cancel</button> |
||||
<button class="hover:btn-hover" id="login-submit" type="submit">Login</button> |
||||
</bottom> |
||||
</card> |
||||
</form> |
||||
<div class="center"><a href="/register/">Need an account? Click to Register.</a></div> |
||||
</div> |
@ -0,0 +1,20 @@ |
||||
<div class="flex flex-col items-center p-6 min-w-md"> |
||||
<form action="/api/register" method="POST"> |
||||
<card> |
||||
<top><h2 style="color: white">Register</h2></top> |
||||
<middle> |
||||
<label for="username">Username</label> |
||||
<input id="username" name="username" placeholder="Username" type="text"> |
||||
<label for="email">FAKE! Email</label> |
||||
<input id="email" name="email" placeholder="fake@faker.com" type="text"> |
||||
<label for="password">Password</label> |
||||
<input id="password" name="password" placeholder="Password" type="password"> |
||||
</middle> |
||||
<bottom> |
||||
<button class="hover:btn-alert" type="button">Cancel</button> |
||||
<button class="hover:btn-hover" id="register-submit" type="submit">Register</button> |
||||
</bottom> |
||||
</card> |
||||
</form> |
||||
<div class="center"><a href="/login/">Have an account? Click to Login.</a></div> |
||||
</div> |
@ -0,0 +1,5 @@ |
||||
views = "pages" |
||||
layout = "pages/layouts/main.html" |
||||
target = "public" |
||||
watch_delay = "500ms" |
||||
sync_dir = "static" |
@ -0,0 +1,462 @@ |
||||
@theme default { |
||||
--font-sans: |
||||
ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', |
||||
'Noto Color Emoji'; |
||||
--font-serif: ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif; |
||||
--font-mono: |
||||
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', |
||||
monospace; |
||||
|
||||
--color-red-50: oklch(97.1% 0.013 17.38); |
||||
--color-red-100: oklch(93.6% 0.032 17.717); |
||||
--color-red-200: oklch(88.5% 0.062 18.334); |
||||
--color-red-300: oklch(80.8% 0.114 19.571); |
||||
--color-red-400: oklch(70.4% 0.191 22.216); |
||||
--color-red-500: oklch(63.7% 0.237 25.331); |
||||
--color-red-600: oklch(57.7% 0.245 27.325); |
||||
--color-red-700: oklch(50.5% 0.213 27.518); |
||||
--color-red-800: oklch(44.4% 0.177 26.899); |
||||
--color-red-900: oklch(39.6% 0.141 25.723); |
||||
--color-red-950: oklch(25.8% 0.092 26.042); |
||||
|
||||
--color-orange-50: oklch(98% 0.016 73.684); |
||||
--color-orange-100: oklch(95.4% 0.038 75.164); |
||||
--color-orange-200: oklch(90.1% 0.076 70.697); |
||||
--color-orange-300: oklch(83.7% 0.128 66.29); |
||||
--color-orange-400: oklch(75% 0.183 55.934); |
||||
--color-orange-500: oklch(70.5% 0.213 47.604); |
||||
--color-orange-600: oklch(64.6% 0.222 41.116); |
||||
--color-orange-700: oklch(55.3% 0.195 38.402); |
||||
--color-orange-800: oklch(47% 0.157 37.304); |
||||
--color-orange-900: oklch(40.8% 0.123 38.172); |
||||
--color-orange-950: oklch(26.6% 0.079 36.259); |
||||
|
||||
--color-amber-50: oklch(98.7% 0.022 95.277); |
||||
--color-amber-100: oklch(96.2% 0.059 95.617); |
||||
--color-amber-200: oklch(92.4% 0.12 95.746); |
||||
--color-amber-300: oklch(87.9% 0.169 91.605); |
||||
--color-amber-400: oklch(82.8% 0.189 84.429); |
||||
--color-amber-500: oklch(76.9% 0.188 70.08); |
||||
--color-amber-600: oklch(66.6% 0.179 58.318); |
||||
--color-amber-700: oklch(55.5% 0.163 48.998); |
||||
--color-amber-800: oklch(47.3% 0.137 46.201); |
||||
--color-amber-900: oklch(41.4% 0.112 45.904); |
||||
--color-amber-950: oklch(27.9% 0.077 45.635); |
||||
|
||||
--color-yellow-50: oklch(98.7% 0.026 102.212); |
||||
--color-yellow-100: oklch(97.3% 0.071 103.193); |
||||
--color-yellow-200: oklch(94.5% 0.129 101.54); |
||||
--color-yellow-300: oklch(90.5% 0.182 98.111); |
||||
--color-yellow-400: oklch(85.2% 0.199 91.936); |
||||
--color-yellow-500: oklch(79.5% 0.184 86.047); |
||||
--color-yellow-600: oklch(68.1% 0.162 75.834); |
||||
--color-yellow-700: oklch(55.4% 0.135 66.442); |
||||
--color-yellow-800: oklch(47.6% 0.114 61.907); |
||||
--color-yellow-900: oklch(42.1% 0.095 57.708); |
||||
--color-yellow-950: oklch(28.6% 0.066 53.813); |
||||
|
||||
--color-lime-50: oklch(98.6% 0.031 120.757); |
||||
--color-lime-100: oklch(96.7% 0.067 122.328); |
||||
--color-lime-200: oklch(93.8% 0.127 124.321); |
||||
--color-lime-300: oklch(89.7% 0.196 126.665); |
||||
--color-lime-400: oklch(84.1% 0.238 128.85); |
||||
--color-lime-500: oklch(76.8% 0.233 130.85); |
||||
--color-lime-600: oklch(64.8% 0.2 131.684); |
||||
--color-lime-700: oklch(53.2% 0.157 131.589); |
||||
--color-lime-800: oklch(45.3% 0.124 130.933); |
||||
--color-lime-900: oklch(40.5% 0.101 131.063); |
||||
--color-lime-950: oklch(27.4% 0.072 132.109); |
||||
|
||||
--color-green-50: oklch(98.2% 0.018 155.826); |
||||
--color-green-100: oklch(96.2% 0.044 156.743); |
||||
--color-green-200: oklch(92.5% 0.084 155.995); |
||||
--color-green-300: oklch(87.1% 0.15 154.449); |
||||
--color-green-400: oklch(79.2% 0.209 151.711); |
||||
--color-green-500: oklch(72.3% 0.219 149.579); |
||||
--color-green-600: oklch(62.7% 0.194 149.214); |
||||
--color-green-700: oklch(52.7% 0.154 150.069); |
||||
--color-green-800: oklch(44.8% 0.119 151.328); |
||||
--color-green-900: oklch(39.3% 0.095 152.535); |
||||
--color-green-950: oklch(26.6% 0.065 152.934); |
||||
|
||||
--color-emerald-50: oklch(97.9% 0.021 166.113); |
||||
--color-emerald-100: oklch(95% 0.052 163.051); |
||||
--color-emerald-200: oklch(90.5% 0.093 164.15); |
||||
--color-emerald-300: oklch(84.5% 0.143 164.978); |
||||
--color-emerald-400: oklch(76.5% 0.177 163.223); |
||||
--color-emerald-500: oklch(69.6% 0.17 162.48); |
||||
--color-emerald-600: oklch(59.6% 0.145 163.225); |
||||
--color-emerald-700: oklch(50.8% 0.118 165.612); |
||||
--color-emerald-800: oklch(43.2% 0.095 166.913); |
||||
--color-emerald-900: oklch(37.8% 0.077 168.94); |
||||
--color-emerald-950: oklch(26.2% 0.051 172.552); |
||||
|
||||
--color-teal-50: oklch(98.4% 0.014 180.72); |
||||
--color-teal-100: oklch(95.3% 0.051 180.801); |
||||
--color-teal-200: oklch(91% 0.096 180.426); |
||||
--color-teal-300: oklch(85.5% 0.138 181.071); |
||||
--color-teal-400: oklch(77.7% 0.152 181.912); |
||||
--color-teal-500: oklch(70.4% 0.14 182.503); |
||||
--color-teal-600: oklch(60% 0.118 184.704); |
||||
--color-teal-700: oklch(51.1% 0.096 186.391); |
||||
--color-teal-800: oklch(43.7% 0.078 188.216); |
||||
--color-teal-900: oklch(38.6% 0.063 188.416); |
||||
--color-teal-950: oklch(27.7% 0.046 192.524); |
||||
|
||||
--color-cyan-50: oklch(98.4% 0.019 200.873); |
||||
--color-cyan-100: oklch(95.6% 0.045 203.388); |
||||
--color-cyan-200: oklch(91.7% 0.08 205.041); |
||||
--color-cyan-300: oklch(86.5% 0.127 207.078); |
||||
--color-cyan-400: oklch(78.9% 0.154 211.53); |
||||
--color-cyan-500: oklch(71.5% 0.143 215.221); |
||||
--color-cyan-600: oklch(60.9% 0.126 221.723); |
||||
--color-cyan-700: oklch(52% 0.105 223.128); |
||||
--color-cyan-800: oklch(45% 0.085 224.283); |
||||
--color-cyan-900: oklch(39.8% 0.07 227.392); |
||||
--color-cyan-950: oklch(30.2% 0.056 229.695); |
||||
|
||||
--color-sky-50: oklch(97.7% 0.013 236.62); |
||||
--color-sky-100: oklch(95.1% 0.026 236.824); |
||||
--color-sky-200: oklch(90.1% 0.058 230.902); |
||||
--color-sky-300: oklch(82.8% 0.111 230.318); |
||||
--color-sky-400: oklch(74.6% 0.16 232.661); |
||||
--color-sky-500: oklch(68.5% 0.169 237.323); |
||||
--color-sky-600: oklch(58.8% 0.158 241.966); |
||||
--color-sky-700: oklch(50% 0.134 242.749); |
||||
--color-sky-800: oklch(44.3% 0.11 240.79); |
||||
--color-sky-900: oklch(39.1% 0.09 240.876); |
||||
--color-sky-950: oklch(29.3% 0.066 243.157); |
||||
|
||||
--color-blue-50: oklch(97% 0.014 254.604); |
||||
--color-blue-100: oklch(93.2% 0.032 255.585); |
||||
--color-blue-200: oklch(88.2% 0.059 254.128); |
||||
--color-blue-300: oklch(80.9% 0.105 251.813); |
||||
--color-blue-400: oklch(70.7% 0.165 254.624); |
||||
--color-blue-500: oklch(62.3% 0.214 259.815); |
||||
--color-blue-600: oklch(54.6% 0.245 262.881); |
||||
--color-blue-700: oklch(48.8% 0.243 264.376); |
||||
--color-blue-800: oklch(42.4% 0.199 265.638); |
||||
--color-blue-900: oklch(37.9% 0.146 265.522); |
||||
--color-blue-950: oklch(28.2% 0.091 267.935); |
||||
|
||||
--color-indigo-50: oklch(96.2% 0.018 272.314); |
||||
--color-indigo-100: oklch(93% 0.034 272.788); |
||||
--color-indigo-200: oklch(87% 0.065 274.039); |
||||
--color-indigo-300: oklch(78.5% 0.115 274.713); |
||||
--color-indigo-400: oklch(67.3% 0.182 276.935); |
||||
--color-indigo-500: oklch(58.5% 0.233 277.117); |
||||
--color-indigo-600: oklch(51.1% 0.262 276.966); |
||||
--color-indigo-700: oklch(45.7% 0.24 277.023); |
||||
--color-indigo-800: oklch(39.8% 0.195 277.366); |
||||
--color-indigo-900: oklch(35.9% 0.144 278.697); |
||||
--color-indigo-950: oklch(25.7% 0.09 281.288); |
||||
|
||||
--color-violet-50: oklch(96.9% 0.016 293.756); |
||||
--color-violet-100: oklch(94.3% 0.029 294.588); |
||||
--color-violet-200: oklch(89.4% 0.057 293.283); |
||||
--color-violet-300: oklch(81.1% 0.111 293.571); |
||||
--color-violet-400: oklch(70.2% 0.183 293.541); |
||||
--color-violet-500: oklch(60.6% 0.25 292.717); |
||||
--color-violet-600: oklch(54.1% 0.281 293.009); |
||||
--color-violet-700: oklch(49.1% 0.27 292.581); |
||||
--color-violet-800: oklch(43.2% 0.232 292.759); |
||||
--color-violet-900: oklch(38% 0.189 293.745); |
||||
--color-violet-950: oklch(28.3% 0.141 291.089); |
||||
|
||||
--color-purple-50: oklch(97.7% 0.014 308.299); |
||||
--color-purple-100: oklch(94.6% 0.033 307.174); |
||||
--color-purple-200: oklch(90.2% 0.063 306.703); |
||||
--color-purple-300: oklch(82.7% 0.119 306.383); |
||||
--color-purple-400: oklch(71.4% 0.203 305.504); |
||||
--color-purple-500: oklch(62.7% 0.265 303.9); |
||||
--color-purple-600: oklch(55.8% 0.288 302.321); |
||||
--color-purple-700: oklch(49.6% 0.265 301.924); |
||||
--color-purple-800: oklch(43.8% 0.218 303.724); |
||||
--color-purple-900: oklch(38.1% 0.176 304.987); |
||||
--color-purple-950: oklch(29.1% 0.149 302.717); |
||||
|
||||
--color-fuchsia-50: oklch(97.7% 0.017 320.058); |
||||
--color-fuchsia-100: oklch(95.2% 0.037 318.852); |
||||
--color-fuchsia-200: oklch(90.3% 0.076 319.62); |
||||
--color-fuchsia-300: oklch(83.3% 0.145 321.434); |
||||
--color-fuchsia-400: oklch(74% 0.238 322.16); |
||||
--color-fuchsia-500: oklch(66.7% 0.295 322.15); |
||||
--color-fuchsia-600: oklch(59.1% 0.293 322.896); |
||||
--color-fuchsia-700: oklch(51.8% 0.253 323.949); |
||||
--color-fuchsia-800: oklch(45.2% 0.211 324.591); |
||||
--color-fuchsia-900: oklch(40.1% 0.17 325.612); |
||||
--color-fuchsia-950: oklch(29.3% 0.136 325.661); |
||||
|
||||
--color-pink-50: oklch(97.1% 0.014 343.198); |
||||
--color-pink-100: oklch(94.8% 0.028 342.258); |
||||
--color-pink-200: oklch(89.9% 0.061 343.231); |
||||
--color-pink-300: oklch(82.3% 0.12 346.018); |
||||
--color-pink-400: oklch(71.8% 0.202 349.761); |
||||
--color-pink-500: oklch(65.6% 0.241 354.308); |
||||
--color-pink-600: oklch(59.2% 0.249 0.584); |
||||
--color-pink-700: oklch(52.5% 0.223 3.958); |
||||
--color-pink-800: oklch(45.9% 0.187 3.815); |
||||
--color-pink-900: oklch(40.8% 0.153 2.432); |
||||
--color-pink-950: oklch(28.4% 0.109 3.907); |
||||
|
||||
--color-rose-50: oklch(96.9% 0.015 12.422); |
||||
--color-rose-100: oklch(94.1% 0.03 12.58); |
||||
--color-rose-200: oklch(89.2% 0.058 10.001); |
||||
--color-rose-300: oklch(81% 0.117 11.638); |
||||
--color-rose-400: oklch(71.2% 0.194 13.428); |
||||
--color-rose-500: oklch(64.5% 0.246 16.439); |
||||
--color-rose-600: oklch(58.6% 0.253 17.585); |
||||
--color-rose-700: oklch(51.4% 0.222 16.935); |
||||
--color-rose-800: oklch(45.5% 0.188 13.697); |
||||
--color-rose-900: oklch(41% 0.159 10.272); |
||||
--color-rose-950: oklch(27.1% 0.105 12.094); |
||||
|
||||
--color-slate-50: oklch(98.4% 0.003 247.858); |
||||
--color-slate-100: oklch(96.8% 0.007 247.896); |
||||
--color-slate-200: oklch(92.9% 0.013 255.508); |
||||
--color-slate-300: oklch(86.9% 0.022 252.894); |
||||
--color-slate-400: oklch(70.4% 0.04 256.788); |
||||
--color-slate-500: oklch(55.4% 0.046 257.417); |
||||
--color-slate-600: oklch(44.6% 0.043 257.281); |
||||
--color-slate-700: oklch(37.2% 0.044 257.287); |
||||
--color-slate-800: oklch(27.9% 0.041 260.031); |
||||
--color-slate-900: oklch(20.8% 0.042 265.755); |
||||
--color-slate-950: oklch(12.9% 0.042 264.695); |
||||
|
||||
--color-gray-50: oklch(98.5% 0.002 247.839); |
||||
--color-gray-100: oklch(96.7% 0.003 264.542); |
||||
--color-gray-200: oklch(92.8% 0.006 264.531); |
||||
--color-gray-300: oklch(87.2% 0.01 258.338); |
||||
--color-gray-400: oklch(70.7% 0.022 261.325); |
||||
--color-gray-500: oklch(55.1% 0.027 264.364); |
||||
--color-gray-600: oklch(44.6% 0.03 256.802); |
||||
--color-gray-700: oklch(37.3% 0.034 259.733); |
||||
--color-gray-800: oklch(27.8% 0.033 256.848); |
||||
--color-gray-900: oklch(21% 0.034 264.665); |
||||
--color-gray-950: oklch(13% 0.028 261.692); |
||||
|
||||
--color-zinc-50: oklch(98.5% 0 0); |
||||
--color-zinc-100: oklch(96.7% 0.001 286.375); |
||||
--color-zinc-200: oklch(92% 0.004 286.32); |
||||
--color-zinc-300: oklch(87.1% 0.006 286.286); |
||||
--color-zinc-400: oklch(70.5% 0.015 286.067); |
||||
--color-zinc-500: oklch(55.2% 0.016 285.938); |
||||
--color-zinc-600: oklch(44.2% 0.017 285.786); |
||||
--color-zinc-700: oklch(37% 0.013 285.805); |
||||
--color-zinc-800: oklch(27.4% 0.006 286.033); |
||||
--color-zinc-900: oklch(21% 0.006 285.885); |
||||
--color-zinc-950: oklch(14.1% 0.005 285.823); |
||||
|
||||
--color-neutral-50: oklch(98.5% 0 0); |
||||
--color-neutral-100: oklch(97% 0 0); |
||||
--color-neutral-200: oklch(92.2% 0 0); |
||||
--color-neutral-300: oklch(87% 0 0); |
||||
--color-neutral-400: oklch(70.8% 0 0); |
||||
--color-neutral-500: oklch(55.6% 0 0); |
||||
--color-neutral-600: oklch(43.9% 0 0); |
||||
--color-neutral-700: oklch(37.1% 0 0); |
||||
--color-neutral-800: oklch(26.9% 0 0); |
||||
--color-neutral-900: oklch(20.5% 0 0); |
||||
--color-neutral-950: oklch(14.5% 0 0); |
||||
|
||||
--color-stone-50: oklch(98.5% 0.001 106.423); |
||||
--color-stone-100: oklch(97% 0.001 106.424); |
||||
--color-stone-200: oklch(92.3% 0.003 48.717); |
||||
--color-stone-300: oklch(86.9% 0.005 56.366); |
||||
--color-stone-400: oklch(70.9% 0.01 56.259); |
||||
--color-stone-500: oklch(55.3% 0.013 58.071); |
||||
--color-stone-600: oklch(44.4% 0.011 73.639); |
||||
--color-stone-700: oklch(37.4% 0.01 67.558); |
||||
--color-stone-800: oklch(26.8% 0.007 34.298); |
||||
--color-stone-900: oklch(21.6% 0.006 56.043); |
||||
--color-stone-950: oklch(14.7% 0.004 49.25); |
||||
|
||||
--color-black: #000; |
||||
--color-white: #fff; |
||||
|
||||
--spacing: 0.25rem; |
||||
|
||||
--breakpoint-sm: 40rem; |
||||
--breakpoint-md: 48rem; |
||||
--breakpoint-lg: 64rem; |
||||
--breakpoint-xl: 80rem; |
||||
--breakpoint-2xl: 96rem; |
||||
|
||||
--container-3xs: 16rem; |
||||
--container-2xs: 18rem; |
||||
--container-xs: 20rem; |
||||
--container-sm: 24rem; |
||||
--container-md: 28rem; |
||||
--container-lg: 32rem; |
||||
--container-xl: 36rem; |
||||
--container-2xl: 42rem; |
||||
--container-3xl: 48rem; |
||||
--container-4xl: 56rem; |
||||
--container-5xl: 64rem; |
||||
--container-6xl: 72rem; |
||||
--container-7xl: 80rem; |
||||
|
||||
--text-xs: 0.75rem; |
||||
--text-xs--line-height: calc(1 / 0.75); |
||||
--text-sm: 0.875rem; |
||||
--text-sm--line-height: calc(1.25 / 0.875); |
||||
--text-base: 1rem; |
||||
--text-base--line-height: calc(1.5 / 1); |
||||
--text-lg: 1.125rem; |
||||
--text-lg--line-height: calc(1.75 / 1.125); |
||||
--text-xl: 1.25rem; |
||||
--text-xl--line-height: calc(1.75 / 1.25); |
||||
--text-2xl: 1.5rem; |
||||
--text-2xl--line-height: calc(2 / 1.5); |
||||
--text-3xl: 1.875rem; |
||||
--text-3xl--line-height: calc(2.25 / 1.875); |
||||
--text-4xl: 2.25rem; |
||||
--text-4xl--line-height: calc(2.5 / 2.25); |
||||
--text-5xl: 3rem; |
||||
--text-5xl--line-height: 1; |
||||
--text-6xl: 3.75rem; |
||||
--text-6xl--line-height: 1; |
||||
--text-7xl: 4.5rem; |
||||
--text-7xl--line-height: 1; |
||||
--text-8xl: 6rem; |
||||
--text-8xl--line-height: 1; |
||||
--text-9xl: 8rem; |
||||
--text-9xl--line-height: 1; |
||||
|
||||
--font-weight-thin: 100; |
||||
--font-weight-extralight: 200; |
||||
--font-weight-light: 300; |
||||
--font-weight-normal: 400; |
||||
--font-weight-medium: 500; |
||||
--font-weight-semibold: 600; |
||||
--font-weight-bold: 700; |
||||
--font-weight-extrabold: 800; |
||||
--font-weight-black: 900; |
||||
|
||||
--tracking-tighter: -0.05em; |
||||
--tracking-tight: -0.025em; |
||||
--tracking-normal: 0em; |
||||
--tracking-wide: 0.025em; |
||||
--tracking-wider: 0.05em; |
||||
--tracking-widest: 0.1em; |
||||
|
||||
--leading-tight: 1.25; |
||||
--leading-snug: 1.375; |
||||
--leading-normal: 1.5; |
||||
--leading-relaxed: 1.625; |
||||
--leading-loose: 2; |
||||
|
||||
--radius-xs: 0.125rem; |
||||
--radius-sm: 0.25rem; |
||||
--radius-md: 0.375rem; |
||||
--radius-lg: 0.5rem; |
||||
--radius-xl: 0.75rem; |
||||
--radius-2xl: 1rem; |
||||
--radius-3xl: 1.5rem; |
||||
--radius-4xl: 2rem; |
||||
|
||||
--shadow-2xs: 0 1px rgb(0 0 0 / 0.05); |
||||
--shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05); |
||||
--shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); |
||||
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); |
||||
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); |
||||
--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); |
||||
--shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25); |
||||
|
||||
--inset-shadow-2xs: inset 0 1px rgb(0 0 0 / 0.05); |
||||
--inset-shadow-xs: inset 0 1px 1px rgb(0 0 0 / 0.05); |
||||
--inset-shadow-sm: inset 0 2px 4px rgb(0 0 0 / 0.05); |
||||
|
||||
--drop-shadow-xs: 0 1px 1px rgb(0 0 0 / 0.05); |
||||
--drop-shadow-sm: 0 1px 2px rgb(0 0 0 / 0.15); |
||||
--drop-shadow-md: 0 3px 3px rgb(0 0 0 / 0.12); |
||||
--drop-shadow-lg: 0 4px 4px rgb(0 0 0 / 0.15); |
||||
--drop-shadow-xl: 0 9px 7px rgb(0 0 0 / 0.1); |
||||
--drop-shadow-2xl: 0 25px 25px rgb(0 0 0 / 0.15); |
||||
|
||||
--text-shadow-2xs: 0px 1px 0px rgb(0 0 0 / 0.15); |
||||
--text-shadow-xs: 0px 1px 1px rgb(0 0 0 / 0.2); |
||||
--text-shadow-sm: |
||||
0px 1px 0px rgb(0 0 0 / 0.075), 0px 1px 1px rgb(0 0 0 / 0.075), 0px 2px 2px rgb(0 0 0 / 0.075); |
||||
--text-shadow-md: |
||||
0px 1px 1px rgb(0 0 0 / 0.1), 0px 1px 2px rgb(0 0 0 / 0.1), 0px 2px 4px rgb(0 0 0 / 0.1); |
||||
--text-shadow-lg: |
||||
0px 1px 2px rgb(0 0 0 / 0.1), 0px 3px 2px rgb(0 0 0 / 0.1), 0px 4px 8px rgb(0 0 0 / 0.1); |
||||
|
||||
--ease-in: cubic-bezier(0.4, 0, 1, 1); |
||||
--ease-out: cubic-bezier(0, 0, 0.2, 1); |
||||
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1); |
||||
|
||||
--animate-spin: spin 1s linear infinite; |
||||
--animate-ping: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; |
||||
--animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; |
||||
--animate-bounce: bounce 1s infinite; |
||||
|
||||
@keyframes spin { |
||||
to { |
||||
transform: rotate(360deg); |
||||
} |
||||
} |
||||
|
||||
@keyframes ping { |
||||
75%, |
||||
100% { |
||||
transform: scale(2); |
||||
opacity: 0; |
||||
} |
||||
} |
||||
|
||||
@keyframes pulse { |
||||
50% { |
||||
opacity: 0.5; |
||||
} |
||||
} |
||||
|
||||
@keyframes bounce { |
||||
0%, |
||||
100% { |
||||
transform: translateY(-25%); |
||||
animation-timing-function: cubic-bezier(0.8, 0, 1, 1); |
||||
} |
||||
|
||||
50% { |
||||
transform: none; |
||||
animation-timing-function: cubic-bezier(0, 0, 0.2, 1); |
||||
} |
||||
} |
||||
|
||||
--blur-xs: 4px; |
||||
--blur-sm: 8px; |
||||
--blur-md: 12px; |
||||
--blur-lg: 16px; |
||||
--blur-xl: 24px; |
||||
--blur-2xl: 40px; |
||||
--blur-3xl: 64px; |
||||
|
||||
--perspective-dramatic: 100px; |
||||
--perspective-near: 300px; |
||||
--perspective-normal: 500px; |
||||
--perspective-midrange: 800px; |
||||
--perspective-distant: 1200px; |
||||
|
||||
--aspect-video: 16 / 9; |
||||
|
||||
--default-transition-duration: 150ms; |
||||
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); |
||||
--default-font-family: --theme(--font-sans, initial); |
||||
--default-font-feature-settings: --theme(--font-sans--font-feature-settings, initial); |
||||
--default-font-variation-settings: --theme(--font-sans--font-variation-settings, initial); |
||||
--default-mono-font-family: --theme(--font-mono, initial); |
||||
--default-mono-font-feature-settings: --theme(--font-mono--font-feature-settings, initial); |
||||
--default-mono-font-variation-settings: --theme(--font-mono--font-variation-settings, initial); |
||||
} |
||||
|
||||
/* Deprecated */ |
||||
@theme default inline reference { |
||||
--blur: 8px; |
||||
--shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); |
||||
--shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05); |
||||
--drop-shadow: 0 1px 2px rgb(0 0 0 / 0.1), 0 1px 1px rgb(0 0 0 / 0.06); |
||||
--radius: 0.25rem; |
||||
--max-width-prose: 65ch; |
||||
} |
After Width: | Height: | Size: 2.7 KiB |
@ -0,0 +1,15 @@ |
||||
ISC License |
||||
|
||||
Icons are Copyright (c) for portions of Lucide are held by Cole Bemis 2013-2022 as part of Feather (MIT). All other copyright (c) for Lucide are held by Lucide Contributors 2022. |
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any |
||||
purpose with or without fee is hereby granted, provided that the above |
||||
copyright notice and this permission notice appear in all copies. |
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
||||
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
||||
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
||||
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
||||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
||||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
||||
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
After Width: | Height: | Size: 504 B |
After Width: | Height: | Size: 264 B |
After Width: | Height: | Size: 440 B |
After Width: | Height: | Size: 344 B |
After Width: | Height: | Size: 390 B |
After Width: | Height: | Size: 442 B |
After Width: | Height: | Size: 370 B |
After Width: | Height: | Size: 384 B |
After Width: | Height: | Size: 408 B |
After Width: | Height: | Size: 319 B |
After Width: | Height: | Size: 332 B |
After Width: | Height: | Size: 390 B |
After Width: | Height: | Size: 385 B |
After Width: | Height: | Size: 457 B |
After Width: | Height: | Size: 457 B |
After Width: | Height: | Size: 332 B |
After Width: | Height: | Size: 336 B |
After Width: | Height: | Size: 336 B |
After Width: | Height: | Size: 407 B |
After Width: | Height: | Size: 361 B |
After Width: | Height: | Size: 360 B |
After Width: | Height: | Size: 337 B |
After Width: | Height: | Size: 337 B |
After Width: | Height: | Size: 336 B |
After Width: | Height: | Size: 307 B |
After Width: | Height: | Size: 360 B |
After Width: | Height: | Size: 332 B |
After Width: | Height: | Size: 332 B |
After Width: | Height: | Size: 332 B |
After Width: | Height: | Size: 335 B |
After Width: | Height: | Size: 335 B |
After Width: | Height: | Size: 407 B |
After Width: | Height: | Size: 361 B |
After Width: | Height: | Size: 360 B |
After Width: | Height: | Size: 337 B |
After Width: | Height: | Size: 337 B |
After Width: | Height: | Size: 336 B |
After Width: | Height: | Size: 307 B |
After Width: | Height: | Size: 360 B |
After Width: | Height: | Size: 327 B |
After Width: | Height: | Size: 386 B |
After Width: | Height: | Size: 312 B |
After Width: | Height: | Size: 540 B |
After Width: | Height: | Size: 423 B |
After Width: | Height: | Size: 391 B |
After Width: | Height: | Size: 339 B |
After Width: | Height: | Size: 403 B |
After Width: | Height: | Size: 247 B |
After Width: | Height: | Size: 246 B |
After Width: | Height: | Size: 246 B |
After Width: | Height: | Size: 249 B |
After Width: | Height: | Size: 327 B |
After Width: | Height: | Size: 288 B |
After Width: | Height: | Size: 289 B |
After Width: | Height: | Size: 291 B |
After Width: | Height: | Size: 326 B |
After Width: | Height: | Size: 369 B |
After Width: | Height: | Size: 290 B |
After Width: | Height: | Size: 327 B |
After Width: | Height: | Size: 291 B |
After Width: | Height: | Size: 326 B |
After Width: | Height: | Size: 365 B |