Compare commits

..

151 commits

Author SHA1 Message Date
mikestefanello
dfefe65ec0 Update dependencies.
Some checks are pending
Test / test (push) Waiting to run
2025-12-14 10:10:03 -05:00
mikestefanello
04f37f87e2 Re-generate ent code. 2025-08-15 09:58:39 -04:00
mikestefanello
db9fe90163 Update dependencies. 2025-08-15 09:56:50 -04:00
mikestefanello
acb12c393a Removed accidental user field inclusin. 2025-08-15 09:52:37 -04:00
mikestefanello
9d75c2a665 Fix enums in generated admin schema code. 2025-08-15 09:51:06 -04:00
mikestefanello
f154d42e67 Update dependencies. 2025-08-04 08:38:30 -04:00
Mike Stefanello
37104788e7
Generate ent schema in admin code. (#127) 2025-08-04 08:32:10 -04:00
mikestefanello
75c9c5be34 Support multiple forms on a single page. 2025-07-20 14:55:29 -04:00
mikestefanello
f634285909 Updated dependencies. 2025-07-18 09:01:48 -04:00
mikestefanello
1641ac51a6 Updated README. 2025-07-18 08:59:09 -04:00
Paulo Chaves
2eefb46e08
Set tailwindcss binary file name depending on current os (#125)
* Download tailwindcss arm64 binary if on macOS

* add tailwind binary download for macos x64 or arm64
2025-07-18 08:51:44 -04:00
mikestefanello
fd6218c0ad Fixed missing name attribute on select component. 2025-06-24 19:11:23 -04:00
Mike Stefanello
79a589da65
Swap Bulma for DaisyUI (Tailwind) (#111) 2025-06-17 20:19:58 -04:00
mikestefanello
2a546dfe3d Fix Safari cookies and CSRF. 2025-06-02 08:42:14 -04:00
Eduardo Zepeda
885a6ad7bf
Fix HTTPErrorHandler always returning 200 (#109) 2025-05-19 13:13:22 -04:00
mikestefanello
4c4a503cdc Added backlite UI to the admin panel. 2025-05-02 10:18:15 -04:00
mikestefanello
0d6e26ab39 Use memdb for in-memory sqlite dbs. 2025-04-22 09:09:56 -04:00
mikestefanello
e85ca0a93f Cleanup configuration. 2025-04-22 08:54:56 -04:00
mikestefanello
8d6f0b1261 Update dependencies. 2025-04-22 08:35:29 -04:00
Mike Stefanello
7dcf6bc039
Add dynamic admin panel for managing entities (#108) 2025-04-22 08:26:35 -04:00
mikestefanello
d91774313d Updated dependencies. 2025-04-10 09:11:44 -04:00
mikestefanello
efab433d5c Fixed HTMX listeners. 2025-04-01 10:23:32 -04:00
mikestefanello
9441014517 Cleaned up conditional rendering. 2025-03-29 09:40:04 -04:00
mikestefanello
fbb3fdc70d Log ui node cache failures. 2025-03-25 09:25:18 -04:00
mikestefanello
a7c6994062 Update dependencies. 2025-03-16 19:37:14 -04:00
Mike Stefanello
62d46c475c
Migrate from templates to Gomponents (#103) 2025-03-05 20:01:58 -05:00
mikestefanello
5cad4cbd33 Upgraded ent. 2025-02-18 19:27:00 -05:00
mikestefanello
633c60cdf5 Upgrade to Bulma 1.0.2. 2025-02-18 19:19:09 -05:00
mikestefanello
ca1de66033 Added file management. 2025-02-16 14:23:52 -05:00
mikestefanello
b808500a23 Use custom logger in main. 2025-02-16 09:47:15 -05:00
mikestefanello
b2ad889f56 Move web/task shutdown to container. Shutdown web before tasks. Add shutdown timeouts to config. 2025-02-16 09:39:29 -05:00
mikestefanello
a7006b3997 Start task runner before web server. 2025-02-12 22:01:46 -05:00
mikestefanello
d2d8c02a2f Use more secure cookie settings. 2025-02-12 22:01:30 -05:00
mikestefanello
02a58946f1 Updated test workflow go version. 2025-02-12 22:01:10 -05:00
mikestefanello
d736551869 Update dependencies. 2025-01-19 09:37:58 -05:00
Nick Krecklow
e3217fc852
use alpine v3 click.outside event name (#83)
Alpine v3 deprecates the v2 `click.away` event and marks it for possible future removal, replacing it with `click.outside`.

See v3 release notes: https://alpinejs.dev/upgrade-guide#away-replace-with-outside
2024-10-02 10:32:25 -04:00
Dimitri Balios
c244389971
Update Makefile (#80)
ent install -d flag is deprecated. -d=true is a no-op
2024-09-18 17:06:54 -04:00
mikestefanello
a9319559e1 Fixed pager page and pages value when no items present. 2024-09-13 09:16:20 -04:00
mikestefanello
f54d9f8b37 Switched to backlite for task queues. 2024-07-24 21:04:32 -04:00
mikestefanello
062d1f70be Updated documentation. 2024-06-24 19:03:42 -04:00
mikestefanello
73098499dd Upgrade to HTMX 2.0. 2024-06-22 11:07:43 -04:00
mikestefanello
6da0fcb7be Fixed doc code formatting. 2024-06-22 10:38:57 -04:00
Mike Stefanello
62c53a6b4d
Default to SQLite rather than Postgres & Redis (#72)
* Initial rough draft switch to sqlite.

* Rewrote cache implemenation.

* Provide typed tasks.

* Task cleanup.

* Use same db for tasks.

* Provide task queue registration and service container injection.

* Added optional delay to tasks. Pool buffers when encoding.

* Added tests for the task client and runner.

* Added handler examples for caching and tasks.

* Cleanup and documentation.

* Use make in workflow.

* Updated documentation.

* Updated documentation.
2024-06-22 10:34:26 -04:00
mikestefanello
11def45666 Log request URI rather than path. 2024-06-19 09:32:22 -04:00
mikestefanello
ca22f54c89 Added redirect package. 2024-06-16 11:30:11 -04:00
mikestefanello
6730b6a319 Added redirect support with query params. 2024-06-16 10:53:43 -04:00
mikestefanello
71f7de8771 Removed echo-contrib dependency. 2024-06-15 16:56:47 -04:00
Mike Stefanello
5531e0bec2
Move controller to the template renderer (#68) 2024-06-15 15:34:24 -04:00
mikestefanello
6a7070a729 Misc cleanup. 2024-06-15 09:09:36 -04:00
Mike Stefanello
9acf73a4d9
Replace Echo logger with slog. (#67)
* Replace Echo logger with slog.
2024-06-14 21:01:48 -04:00
Mike Stefanello
5ebd42d8f9
Improve form and template usage (#66)
* Improve form and template usage.
2024-06-14 12:35:35 -04:00
mikestefanello
7d85ff0b08 Updated documentation. 2024-06-10 08:28:00 -04:00
mikestefanello
afa8b5d2cc Fixed typo. 2024-06-09 21:42:43 -04:00
mikestefanello
28abc92e74 Easier form and form submission handling. 2024-06-09 21:39:04 -04:00
Mike Stefanello
400b9b36ba
Merge pull request #65 from mikestefanello/handlers-3
Switch from routes to self-registering handlers to group related routes.
2024-06-09 19:57:04 -04:00
mikestefanello
2c635b5c75 Switch from routes to self-registering handlers to group related routes. 2024-06-09 12:31:30 -04:00
mikestefanello
30389de16f Added radio form element example. 2024-05-18 16:19:27 -04:00
mikestefanello
0e204428b6 Updated actions go version. 2024-04-27 16:26:50 -04:00
mikestefanello
0783709b3c Update dependencies. 2024-04-27 16:23:44 -04:00
Mike Stefanello
a122851717
Merge pull request #60 from jordanstephens/patch-1
Fix a broken link
2024-04-01 08:54:28 -04:00
Jordan Stephens
114ed8444c
Fix a broken link 2024-03-30 18:47:33 -07:00
Mike Stefanello
f6a96e2025
Merge pull request #58 from saurori/cache-up
Update Cache related go modules go-redis to v9 and gocache to v4
2024-03-21 19:58:44 -04:00
Stefan Aurori
15739cc82e Rename lib_store and redis_store imports. Cache get remove redundant nil check. 2024-03-14 20:43:27 -04:00
Stefan Aurori
e8952e964c Update go-redis to v9 and gocache to v4 2024-03-10 17:23:03 -04:00
mikestefanello
b1c47426d9 Update crypto library. 2023-12-18 21:02:30 -05:00
mikestefanello
97cd9d0fee Move htmx template into layouts. 2023-12-18 20:59:40 -05:00
mikestefanello
c2b6928fb4 Use consts for route names and templates. 2023-12-16 11:07:20 -05:00
mikestefanello
5af18e2473 Added additional make commands. 2023-12-16 08:12:51 -05:00
mikestefanello
81c65fcc30 Restore local live reloading of templates. 2023-12-12 20:07:58 -05:00
mikestefanello
3df20c01a7 Replace template dir file path hack with embed directive. 2023-12-10 09:33:34 -05:00
mikestefanello
0879aaf21d Fix flaky context error test. 2023-11-15 20:14:00 -05:00
Mike Stefanello
ba96445704
Merge pull request #48 from gedw99/main
fixes Issue 45 - cant generate using ent and then run
2023-11-15 20:06:58 -05:00
ged wed
42c7957bf4 fixes 45 - cant generate 2023-11-14 12:46:57 +01:00
Mike Stefanello
44da53d99f
Merge pull request #44 from mips171/mips171/bump_bulma_htmx
bump Bulma and HTMX
2023-10-01 18:52:36 -04:00
Nicholas Smith
6a3f4b5ff2 bump Bulma and HTMX 2023-10-01 13:23:42 +10:00
mikestefanello
68b850c87b Merge branch 'main' of github.com:mikestefanello/pagoda into main 2023-09-17 11:38:26 -04:00
mikestefanello
4867b9bab8 Pin PG version to 15 to avoid broken schema migrations. 2023-09-17 11:38:10 -04:00
Mike Stefanello
7eae6309fd
Merge pull request #35 from testwill/ioutil
chore: remove refs to deprecated io/ioutil
2023-09-17 11:18:38 -04:00
guoguangwu
3026ec218e chore: remove refs to deprecated io/ioutil 2023-07-26 11:08:24 +08:00
Mike Stefanello
f688bff1d2
Merge pull request #33 from Jimmy99/patch-2
Update README.md
2023-05-25 15:55:50 -04:00
Dimitri Balios
575bf805e2
Update README.md
Fix typo
2023-05-25 21:50:20 +02:00
Mike Stefanello
1f42ce7db8
Merge pull request #32 from Jimmy99/patch-1
Update README.md for typo
2023-05-22 18:13:57 -04:00
Dimitri Balios
d875747e31
Update README.md for typo
Typo fix "faciliate" to "facilitate"
2023-05-22 23:10:28 +02:00
mikestefanello
fec8698526 Update dependencies. 2023-02-25 07:49:58 -05:00
Mike Stefanello
6d3dfe2531
Merge pull request #28 from Jimmy99/main
Update Makefile to fix deprecated ent init command
2023-02-25 07:47:55 -05:00
Dimitri Balios
842ddbdc9d
Update Makefile 2023-02-23 10:35:33 +02:00
Mike Stefanello
4f776b76b3
Merge pull request #26 from joshlemer/docker-compose-bind-localhost
Bind DB and Redis to 127.0.0.1
2023-02-05 13:05:48 -05:00
Josh Lemer
96799be6ec Bind DB and Redis to 127.0.0.1 2023-01-25 14:49:13 -08:00
Mike Stefanello
859925bc45
Merge pull request #25 from migeorge/update-test-workflow
Update Test Workflow
2023-01-18 09:01:42 -05:00
Mike George
911793ec61 move to v3 actions 2023-01-17 22:35:14 -05:00
Mike Stefanello
19315b894e
Merge pull request #24 from mips171/mips171/makefile
Makefile fix to run worker
2023-01-05 20:32:31 -05:00
mips171
5b73526436
Update Makefile 2023-01-06 10:53:34 +10:00
Nicholas Smith
baa65ebbfa feedback 2023-01-05 08:01:50 +10:00
Nicholas Smith
4527d3d2e5 regen entities on reset 2023-01-04 22:03:15 +10:00
Nicholas Smith
2ac7604b43 add make down 2023-01-04 22:02:53 +10:00
Nicholas Smith
713d3818bb fix worker target 2023-01-04 22:02:05 +10:00
mikestefanello
26e4d4d16a Fixed docker make targets. 2022-11-04 18:49:25 -04:00
mikestefanello
0f800ec3e1 Bump Go version. 2022-11-02 19:37:07 -04:00
mikestefanello
c2f1df1a83 Bump Go version. 2022-11-02 19:34:40 -04:00
mikestefanello
8c5582f720 Updated dependencies. 2022-11-02 19:27:42 -04:00
mikestefanello
72ce41c828 Reorganized directories and packages. 2022-11-02 19:23:26 -04:00
mikestefanello
1018d82d13 Switch to viper for config management. 2022-11-02 14:50:19 -04:00
Mike Stefanello
434d7b44b0
Merge pull request #14 from ahashim/dockerizing-db-and-cache
Dockerizing db and cache
2022-10-10 19:53:55 -04:00
Mike Stefanello
d85159c4f0
Merge pull request #15 from hbd/patch-1
fix: typo when logging fatal error
2022-10-10 13:41:46 -04:00
Zak
152e2e1037
fix: typo when logging fatal error
Small fix to format the error instead of printing `v`
2022-10-10 08:49:11 -07:00
Ahmed Hashim
44ab335cf5
docs: only removing the psql and redis-cli dependencies from README.md + trailing whitespace characters 2022-10-09 08:57:43 -04:00
Ahmed Hashim
936e6c9b18
docs: removing the psql and redis-cli dependencies from README.md because they are now provided through their docker containers 2022-10-09 08:13:34 -04:00
Ahmed Hashim
55d51c70b8
feat: connect to redis-cli from within docker container instead of users localhost 2022-10-09 08:08:32 -04:00
Ahmed Hashim
9f6fe5f0b7
feat: connect to psql from within docker container instead of users localhost 2022-10-09 08:07:12 -04:00
Ahmed Hashim
7f1e057ea2
feat: updgrading docker compose command to support the latest version 2022-10-09 08:06:14 -04:00
mikestefanello
12a177a215 Updated echo. 2022-10-01 21:32:14 -04:00
mikestefanello
c52544caf0 Updated dependencies. 2022-08-28 10:18:47 -04:00
mikestefanello
fb55c3453b Fix incorrect params when building controller redirect route url. 2022-07-08 09:58:42 -04:00
Mike Stefanello
0cc95d4c64
Merge pull request #11 from arrkiin/dont_cache_auth
Prevent caching pages if user is authenticated
2022-06-21 09:49:11 -04:00
Jens
9f1ed2e5f5 Prevent caching pages if user is authenticated 2022-06-20 21:47:07 +02:00
mikestefanello
8d2a6d9b7a Updated yaml.v3. 2022-05-29 09:15:29 -04:00
mikestefanello
aab3c04473 Updated dependencies. 2022-05-29 09:08:57 -04:00
mikestefanello
8fa6ebb8cf Fixed potential test failures due to timing. 2022-05-17 08:57:43 -04:00
mikestefanello
acebcf0ba0 Let error handler handle all error logic, logging, and canceling. 2022-05-17 08:45:18 -04:00
mikestefanello
cd1887124e Fixed redirect status code. 2022-04-12 21:08:00 -04:00
mikestefanello
0ca3c2b701 Fix auth token expiration test failures. 2022-04-12 21:05:19 -04:00
mikestefanello
5c51b72757 Allow HTMX to handle redirects if the request is boosted. 2022-04-12 20:56:00 -04:00
mikestefanello
8b1bc9b99e Upgraded libraries. 2022-03-08 19:35:55 -05:00
mikestefanello
089c4d7ee1 README update. 2022-03-08 19:30:37 -05:00
mikestefanello
51e44a57a1 Lint check adjustments. 2022-02-10 08:56:07 -05:00
mikestefanello
944a4d941a Added make command to check for dependency updates. 2022-02-10 08:21:07 -05:00
mikestefanello
c6a50b3bbf Fixed missing port in database connection string. 2022-02-08 20:21:05 -05:00
mikestefanello
83cdbc4395 Added task worker service and example task processor. 2022-02-08 08:58:22 -05:00
mikestefanello
726556e973 Added make target to connect to the test cache. 2022-02-07 21:23:09 -05:00
mikestefanello
156e578dd0 Use a separate cache db when running tests. 2022-02-06 10:07:25 -05:00
mikestefanello
c43f62a570 Added asynq and a task client to the container to faciliate task queues. 2022-02-02 21:24:52 -05:00
mikestefanello
a82ed9c6d0 Updated echo and ent. 2022-01-28 08:45:16 -05:00
mikestefanello
6546418052 Include password token entity ID in reset URL in order to prevent loading all tokens. 2022-01-27 08:44:12 -05:00
mikestefanello
7a1a01d43e Support CSRF on route test POST requests. 2022-01-27 07:54:05 -05:00
mikestefanello
107f2e3262 Fixed assert package import. 2022-01-20 18:02:14 -05:00
mikestefanello
cd4cc1693c Simplified template renderer parsing and execution. 2022-01-19 09:14:18 -05:00
mikestefanello
cb43e08183 Expanded mail client for easier email operations. 2022-01-14 15:42:32 -05:00
mikestefanello
b269e7d264 Remove need for slice when setting cache tags. Require cache key for get/set ops. 2022-01-14 13:07:19 -05:00
mikestefanello
e0a65ca007 Added custom cache client for much easier cache operations. 2022-01-13 21:13:41 -05:00
mikestefanello
09c6df7f52 Use entity update method rather than query. Fixed password reset form action. 2022-01-09 21:30:09 -05:00
mikestefanello
10c0a23c0a Handle context cancellations and avoid logged errors. 2022-01-09 00:23:26 -05:00
mikestefanello
a6e99058f4 Type message typo. 2022-01-08 15:35:02 -05:00
mikestefanello
c31f30ba5c Added user email verification support. 2022-01-08 15:32:18 -05:00
mikestefanello
6ec7118c3d Replaced hard-coded search path with URL generator. 2022-01-06 21:40:04 -05:00
mikestefanello
eda79b6982 Added encryption info to README. 2022-01-04 20:10:10 -05:00
mikestefanello
c391be9e4d Added route errors to README. 2022-01-01 13:44:09 -05:00
mikestefanello
2ece37eb9c Changed module name. 2022-01-01 10:44:18 -05:00
mikestefanello
328c1a3367 Updated README. 2022-01-01 10:40:10 -05:00
mikestefanello
182ddc9f52 Updated README. Set project name. 2021-12-31 17:26:42 -05:00
mikestefanello
17185bee70 Merge branch 'main' of github.com:mikestefanello/goweb into main 2021-12-31 10:09:57 -05:00
Mike Stefanello
a6e131119a
Create test.yml 2021-12-31 10:02:56 -05:00
112 changed files with 1536 additions and 359 deletions

2
.gitignore vendored
View file

@ -3,4 +3,4 @@ dbs
uploads uploads
tmp tmp
tailwindcss tailwindcss
daisyui*.env daisyui*

View file

@ -1,19 +0,0 @@
# Stage 1: Build the Go binary
FROM golang:1.26-alpine AS builder
RUN apk add --no-cache gcc musl-dev # for go-sqlite3 (CGO)
WORKDIR /build
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=1 go build -o /app/server ./cmd/web
# Stage 2: Minimal runtime image
FROM alpine:latest
RUN apk --no-cache add ca-certificates tzdata
WORKDIR /app
COPY --from=builder /app/server /app/server
COPY --from=builder /build/config /app/config
COPY --from=builder /build/public /app/public
RUN mkdir -p /app/dbs /app/uploads
EXPOSE 8000
CMD ["/app/server"]

1232
README.md

File diff suppressed because it is too large Load diff

View file

@ -6,8 +6,8 @@ import (
"fmt" "fmt"
"os" "os"
"github.com/camzawacki/personal-site/pkg/log" "github.com/mikestefanello/pagoda/pkg/log"
"github.com/camzawacki/personal-site/pkg/services" "github.com/mikestefanello/pagoda/pkg/services"
) )
// main creates a new admin user with the email passed in via the flag. // main creates a new admin user with the email passed in via the flag.

View file

@ -9,10 +9,10 @@ import (
"os" "os"
"os/signal" "os/signal"
"github.com/camzawacki/personal-site/pkg/handlers" "github.com/mikestefanello/pagoda/pkg/handlers"
"github.com/camzawacki/personal-site/pkg/log" "github.com/mikestefanello/pagoda/pkg/log"
"github.com/camzawacki/personal-site/pkg/services" "github.com/mikestefanello/pagoda/pkg/services"
"github.com/camzawacki/personal-site/pkg/tasks" "github.com/mikestefanello/pagoda/pkg/tasks"
) )
func main() { func main() {

View file

@ -1,24 +0,0 @@
services:
app:
build: .
container_name: personal-site
restart: unless-stopped
environment:
- PAGODA_APP_ENVIRONMENT=production
- PAGODA_APP_HOST=camzalewski.com
- PAGODA_HTTP_HOSTNAME=0.0.0.0
- PAGODA_HTTP_PORT=8000
- PAGODA_APP_ENCRYPTIONKEY=${ENCRYPTION_KEY}
volumes:
- sqlite_data:/app/dbs
- uploads:/app/uploads
networks:
- web
volumes:
sqlite_data:
uploads:
networks:
web:
external: true

View file

@ -10,9 +10,9 @@ import (
"entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql"
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/camzawacki/personal-site/ent" "github.com/mikestefanello/pagoda/ent"
"github.com/camzawacki/personal-site/ent/passwordtoken" "github.com/mikestefanello/pagoda/ent/passwordtoken"
"github.com/camzawacki/personal-site/ent/user" "github.com/mikestefanello/pagoda/ent/user"
) )
const dateTimeFormat = "2006-01-02T15:04:05" const dateTimeFormat = "2006-01-02T15:04:05"

View file

@ -9,14 +9,14 @@ import (
"log" "log"
"reflect" "reflect"
"github.com/camzawacki/personal-site/ent/migrate" "github.com/mikestefanello/pagoda/ent/migrate"
"entgo.io/ent" "entgo.io/ent"
"entgo.io/ent/dialect" "entgo.io/ent/dialect"
"entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql"
"entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/dialect/sql/sqlgraph"
"github.com/camzawacki/personal-site/ent/passwordtoken" "github.com/mikestefanello/pagoda/ent/passwordtoken"
"github.com/camzawacki/personal-site/ent/user" "github.com/mikestefanello/pagoda/ent/user"
) )
// Client is the client that holds all ent builders. // Client is the client that holds all ent builders.

View file

@ -12,8 +12,8 @@ import (
"entgo.io/ent" "entgo.io/ent"
"entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql"
"entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/dialect/sql/sqlgraph"
"github.com/camzawacki/personal-site/ent/passwordtoken" "github.com/mikestefanello/pagoda/ent/passwordtoken"
"github.com/camzawacki/personal-site/ent/user" "github.com/mikestefanello/pagoda/ent/user"
) )
// ent aliases to avoid import conflicts in user's code. // ent aliases to avoid import conflicts in user's code.

View file

@ -8,7 +8,7 @@ import (
"entgo.io/ent/entc" "entgo.io/ent/entc"
"entgo.io/ent/entc/gen" "entgo.io/ent/entc/gen"
"github.com/camzawacki/personal-site/ent/admin" "github.com/mikestefanello/pagoda/ent/admin"
) )
func main() { func main() {

View file

@ -5,12 +5,12 @@ package enttest
import ( import (
"context" "context"
"github.com/camzawacki/personal-site/ent" "github.com/mikestefanello/pagoda/ent"
// required by schema hooks. // required by schema hooks.
_ "github.com/camzawacki/personal-site/ent/runtime" _ "github.com/mikestefanello/pagoda/ent/runtime"
"entgo.io/ent/dialect/sql/schema" "entgo.io/ent/dialect/sql/schema"
"github.com/camzawacki/personal-site/ent/migrate" "github.com/mikestefanello/pagoda/ent/migrate"
) )
type ( type (

View file

@ -6,7 +6,7 @@ import (
"context" "context"
"fmt" "fmt"
"github.com/camzawacki/personal-site/ent" "github.com/mikestefanello/pagoda/ent"
) )
// The PasswordTokenFunc type is an adapter to allow the use of ordinary // The PasswordTokenFunc type is an adapter to allow the use of ordinary

View file

@ -11,9 +11,9 @@ import (
"entgo.io/ent" "entgo.io/ent"
"entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql"
"github.com/camzawacki/personal-site/ent/passwordtoken" "github.com/mikestefanello/pagoda/ent/passwordtoken"
"github.com/camzawacki/personal-site/ent/predicate" "github.com/mikestefanello/pagoda/ent/predicate"
"github.com/camzawacki/personal-site/ent/user" "github.com/mikestefanello/pagoda/ent/user"
) )
const ( const (

View file

@ -9,8 +9,8 @@ import (
"entgo.io/ent" "entgo.io/ent"
"entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql"
"github.com/camzawacki/personal-site/ent/passwordtoken" "github.com/mikestefanello/pagoda/ent/passwordtoken"
"github.com/camzawacki/personal-site/ent/user" "github.com/mikestefanello/pagoda/ent/user"
) )
// PasswordToken is the model entity for the PasswordToken schema. // PasswordToken is the model entity for the PasswordToken schema.

View file

@ -56,7 +56,7 @@ func ValidColumn(column string) bool {
// package on the initialization of the application. Therefore, // package on the initialization of the application. Therefore,
// it should be imported in the main as follows: // it should be imported in the main as follows:
// //
// import _ "github.com/camzawacki/personal-site/ent/runtime" // import _ "github.com/mikestefanello/pagoda/ent/runtime"
var ( var (
Hooks [1]ent.Hook Hooks [1]ent.Hook
// TokenValidator is a validator for the "token" field. It is called by the builders before save. // TokenValidator is a validator for the "token" field. It is called by the builders before save.

View file

@ -7,7 +7,7 @@ import (
"entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql"
"entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/dialect/sql/sqlgraph"
"github.com/camzawacki/personal-site/ent/predicate" "github.com/mikestefanello/pagoda/ent/predicate"
) )
// ID filters vertices based on their ID field. // ID filters vertices based on their ID field.

View file

@ -10,8 +10,8 @@ import (
"entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/dialect/sql/sqlgraph"
"entgo.io/ent/schema/field" "entgo.io/ent/schema/field"
"github.com/camzawacki/personal-site/ent/passwordtoken" "github.com/mikestefanello/pagoda/ent/passwordtoken"
"github.com/camzawacki/personal-site/ent/user" "github.com/mikestefanello/pagoda/ent/user"
) )
// PasswordTokenCreate is the builder for creating a PasswordToken entity. // PasswordTokenCreate is the builder for creating a PasswordToken entity.

View file

@ -8,8 +8,8 @@ import (
"entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql"
"entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/dialect/sql/sqlgraph"
"entgo.io/ent/schema/field" "entgo.io/ent/schema/field"
"github.com/camzawacki/personal-site/ent/passwordtoken" "github.com/mikestefanello/pagoda/ent/passwordtoken"
"github.com/camzawacki/personal-site/ent/predicate" "github.com/mikestefanello/pagoda/ent/predicate"
) )
// PasswordTokenDelete is the builder for deleting a PasswordToken entity. // PasswordTokenDelete is the builder for deleting a PasswordToken entity.

View file

@ -11,9 +11,9 @@ import (
"entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql"
"entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/dialect/sql/sqlgraph"
"entgo.io/ent/schema/field" "entgo.io/ent/schema/field"
"github.com/camzawacki/personal-site/ent/passwordtoken" "github.com/mikestefanello/pagoda/ent/passwordtoken"
"github.com/camzawacki/personal-site/ent/predicate" "github.com/mikestefanello/pagoda/ent/predicate"
"github.com/camzawacki/personal-site/ent/user" "github.com/mikestefanello/pagoda/ent/user"
) )
// PasswordTokenQuery is the builder for querying PasswordToken entities. // PasswordTokenQuery is the builder for querying PasswordToken entities.

View file

@ -11,9 +11,9 @@ import (
"entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql"
"entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/dialect/sql/sqlgraph"
"entgo.io/ent/schema/field" "entgo.io/ent/schema/field"
"github.com/camzawacki/personal-site/ent/passwordtoken" "github.com/mikestefanello/pagoda/ent/passwordtoken"
"github.com/camzawacki/personal-site/ent/predicate" "github.com/mikestefanello/pagoda/ent/predicate"
"github.com/camzawacki/personal-site/ent/user" "github.com/mikestefanello/pagoda/ent/user"
) )
// PasswordTokenUpdate is the builder for updating PasswordToken entities. // PasswordTokenUpdate is the builder for updating PasswordToken entities.

View file

@ -2,4 +2,4 @@
package ent package ent
// The schema-stitching logic is generated in github.com/camzawacki/personal-site/ent/runtime/runtime.go // The schema-stitching logic is generated in github.com/mikestefanello/pagoda/ent/runtime/runtime.go

View file

@ -5,9 +5,9 @@ package runtime
import ( import (
"time" "time"
"github.com/camzawacki/personal-site/ent/passwordtoken" "github.com/mikestefanello/pagoda/ent/passwordtoken"
"github.com/camzawacki/personal-site/ent/schema" "github.com/mikestefanello/pagoda/ent/schema"
"github.com/camzawacki/personal-site/ent/user" "github.com/mikestefanello/pagoda/ent/user"
) )
// The init function reads all schema descriptors with runtime code // The init function reads all schema descriptors with runtime code

View file

@ -7,8 +7,8 @@ import (
"entgo.io/ent" "entgo.io/ent"
"entgo.io/ent/schema/edge" "entgo.io/ent/schema/edge"
"entgo.io/ent/schema/field" "entgo.io/ent/schema/field"
ge "github.com/camzawacki/personal-site/ent" ge "github.com/mikestefanello/pagoda/ent"
"github.com/camzawacki/personal-site/ent/hook" "github.com/mikestefanello/pagoda/ent/hook"
"golang.org/x/crypto/bcrypt" "golang.org/x/crypto/bcrypt"
) )

View file

@ -6,8 +6,8 @@ import (
"strings" "strings"
"time" "time"
ge "github.com/camzawacki/personal-site/ent" ge "github.com/mikestefanello/pagoda/ent"
"github.com/camzawacki/personal-site/ent/hook" "github.com/mikestefanello/pagoda/ent/hook"
"golang.org/x/crypto/bcrypt" "golang.org/x/crypto/bcrypt"
"entgo.io/ent" "entgo.io/ent"

View file

@ -9,7 +9,7 @@ import (
"entgo.io/ent" "entgo.io/ent"
"entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql"
"github.com/camzawacki/personal-site/ent/user" "github.com/mikestefanello/pagoda/ent/user"
) )
// User is the model entity for the User schema. // User is the model entity for the User schema.

View file

@ -65,7 +65,7 @@ func ValidColumn(column string) bool {
// package on the initialization of the application. Therefore, // package on the initialization of the application. Therefore,
// it should be imported in the main as follows: // it should be imported in the main as follows:
// //
// import _ "github.com/camzawacki/personal-site/ent/runtime" // import _ "github.com/mikestefanello/pagoda/ent/runtime"
var ( var (
Hooks [1]ent.Hook Hooks [1]ent.Hook
// NameValidator is a validator for the "name" field. It is called by the builders before save. // NameValidator is a validator for the "name" field. It is called by the builders before save.

View file

@ -7,7 +7,7 @@ import (
"entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql"
"entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/dialect/sql/sqlgraph"
"github.com/camzawacki/personal-site/ent/predicate" "github.com/mikestefanello/pagoda/ent/predicate"
) )
// ID filters vertices based on their ID field. // ID filters vertices based on their ID field.

View file

@ -10,8 +10,8 @@ import (
"entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/dialect/sql/sqlgraph"
"entgo.io/ent/schema/field" "entgo.io/ent/schema/field"
"github.com/camzawacki/personal-site/ent/passwordtoken" "github.com/mikestefanello/pagoda/ent/passwordtoken"
"github.com/camzawacki/personal-site/ent/user" "github.com/mikestefanello/pagoda/ent/user"
) )
// UserCreate is the builder for creating a User entity. // UserCreate is the builder for creating a User entity.

View file

@ -8,8 +8,8 @@ import (
"entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql"
"entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/dialect/sql/sqlgraph"
"entgo.io/ent/schema/field" "entgo.io/ent/schema/field"
"github.com/camzawacki/personal-site/ent/predicate" "github.com/mikestefanello/pagoda/ent/predicate"
"github.com/camzawacki/personal-site/ent/user" "github.com/mikestefanello/pagoda/ent/user"
) )
// UserDelete is the builder for deleting a User entity. // UserDelete is the builder for deleting a User entity.

View file

@ -12,9 +12,9 @@ import (
"entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql"
"entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/dialect/sql/sqlgraph"
"entgo.io/ent/schema/field" "entgo.io/ent/schema/field"
"github.com/camzawacki/personal-site/ent/passwordtoken" "github.com/mikestefanello/pagoda/ent/passwordtoken"
"github.com/camzawacki/personal-site/ent/predicate" "github.com/mikestefanello/pagoda/ent/predicate"
"github.com/camzawacki/personal-site/ent/user" "github.com/mikestefanello/pagoda/ent/user"
) )
// UserQuery is the builder for querying User entities. // UserQuery is the builder for querying User entities.

View file

@ -10,9 +10,9 @@ import (
"entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql"
"entgo.io/ent/dialect/sql/sqlgraph" "entgo.io/ent/dialect/sql/sqlgraph"
"entgo.io/ent/schema/field" "entgo.io/ent/schema/field"
"github.com/camzawacki/personal-site/ent/passwordtoken" "github.com/mikestefanello/pagoda/ent/passwordtoken"
"github.com/camzawacki/personal-site/ent/predicate" "github.com/mikestefanello/pagoda/ent/predicate"
"github.com/camzawacki/personal-site/ent/user" "github.com/mikestefanello/pagoda/ent/user"
) )
// UserUpdate is the builder for updating User entities. // UserUpdate is the builder for updating User entities.

2
go.mod
View file

@ -1,4 +1,4 @@
module github.com/camzawacki/personal-site module github.com/mikestefanello/pagoda
go 1.24.6 go 1.24.6

View file

@ -2,7 +2,7 @@ package form
import ( import (
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/camzawacki/personal-site/pkg/context" "github.com/mikestefanello/pagoda/pkg/context"
) )
// Form represents a form that can be submitted and validated. // Form represents a form that can be submitted and validated.

View file

@ -4,8 +4,8 @@ import (
"testing" "testing"
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/camzawacki/personal-site/pkg/context" "github.com/mikestefanello/pagoda/pkg/context"
"github.com/camzawacki/personal-site/pkg/tests" "github.com/mikestefanello/pagoda/pkg/tests"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"github.com/go-playground/validator/v10" "github.com/go-playground/validator/v10"
"github.com/camzawacki/personal-site/pkg/context" "github.com/mikestefanello/pagoda/pkg/context"
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
) )

View file

@ -8,7 +8,7 @@ import (
"github.com/go-playground/validator/v10" "github.com/go-playground/validator/v10"
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/camzawacki/personal-site/pkg/services" "github.com/mikestefanello/pagoda/pkg/services"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -9,16 +9,16 @@ import (
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/mikestefanello/backlite/ui" "github.com/mikestefanello/backlite/ui"
"github.com/camzawacki/personal-site/ent" "github.com/mikestefanello/pagoda/ent"
"github.com/camzawacki/personal-site/ent/admin" "github.com/mikestefanello/pagoda/ent/admin"
"github.com/camzawacki/personal-site/pkg/context" "github.com/mikestefanello/pagoda/pkg/context"
"github.com/camzawacki/personal-site/pkg/middleware" "github.com/mikestefanello/pagoda/pkg/middleware"
"github.com/camzawacki/personal-site/pkg/msg" "github.com/mikestefanello/pagoda/pkg/msg"
"github.com/camzawacki/personal-site/pkg/pager" "github.com/mikestefanello/pagoda/pkg/pager"
"github.com/camzawacki/personal-site/pkg/redirect" "github.com/mikestefanello/pagoda/pkg/redirect"
"github.com/camzawacki/personal-site/pkg/routenames" "github.com/mikestefanello/pagoda/pkg/routenames"
"github.com/camzawacki/personal-site/pkg/services" "github.com/mikestefanello/pagoda/pkg/services"
"github.com/camzawacki/personal-site/pkg/ui/pages" "github.com/mikestefanello/pagoda/pkg/ui/pages"
) )
type Admin struct { type Admin struct {

View file

@ -6,20 +6,20 @@ import (
"github.com/go-playground/validator/v10" "github.com/go-playground/validator/v10"
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/camzawacki/personal-site/config" "github.com/mikestefanello/pagoda/config"
"github.com/camzawacki/personal-site/ent" "github.com/mikestefanello/pagoda/ent"
"github.com/camzawacki/personal-site/ent/user" "github.com/mikestefanello/pagoda/ent/user"
"github.com/camzawacki/personal-site/pkg/context" "github.com/mikestefanello/pagoda/pkg/context"
"github.com/camzawacki/personal-site/pkg/form" "github.com/mikestefanello/pagoda/pkg/form"
"github.com/camzawacki/personal-site/pkg/log" "github.com/mikestefanello/pagoda/pkg/log"
"github.com/camzawacki/personal-site/pkg/middleware" "github.com/mikestefanello/pagoda/pkg/middleware"
"github.com/camzawacki/personal-site/pkg/msg" "github.com/mikestefanello/pagoda/pkg/msg"
"github.com/camzawacki/personal-site/pkg/redirect" "github.com/mikestefanello/pagoda/pkg/redirect"
"github.com/camzawacki/personal-site/pkg/routenames" "github.com/mikestefanello/pagoda/pkg/routenames"
"github.com/camzawacki/personal-site/pkg/services" "github.com/mikestefanello/pagoda/pkg/services"
"github.com/camzawacki/personal-site/pkg/ui/emails" "github.com/mikestefanello/pagoda/pkg/ui/emails"
"github.com/camzawacki/personal-site/pkg/ui/forms" "github.com/mikestefanello/pagoda/pkg/ui/forms"
"github.com/camzawacki/personal-site/pkg/ui/pages" "github.com/mikestefanello/pagoda/pkg/ui/pages"
) )
type Auth struct { type Auth struct {

View file

@ -5,11 +5,11 @@ import (
"time" "time"
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/camzawacki/personal-site/pkg/form" "github.com/mikestefanello/pagoda/pkg/form"
"github.com/camzawacki/personal-site/pkg/routenames" "github.com/mikestefanello/pagoda/pkg/routenames"
"github.com/camzawacki/personal-site/pkg/services" "github.com/mikestefanello/pagoda/pkg/services"
"github.com/camzawacki/personal-site/pkg/ui/forms" "github.com/mikestefanello/pagoda/pkg/ui/forms"
"github.com/camzawacki/personal-site/pkg/ui/pages" "github.com/mikestefanello/pagoda/pkg/ui/pages"
) )
type Cache struct { type Cache struct {

View file

@ -5,11 +5,11 @@ import (
"github.com/go-playground/validator/v10" "github.com/go-playground/validator/v10"
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/camzawacki/personal-site/pkg/form" "github.com/mikestefanello/pagoda/pkg/form"
"github.com/camzawacki/personal-site/pkg/routenames" "github.com/mikestefanello/pagoda/pkg/routenames"
"github.com/camzawacki/personal-site/pkg/services" "github.com/mikestefanello/pagoda/pkg/services"
"github.com/camzawacki/personal-site/pkg/ui/forms" "github.com/mikestefanello/pagoda/pkg/ui/forms"
"github.com/camzawacki/personal-site/pkg/ui/pages" "github.com/mikestefanello/pagoda/pkg/ui/pages"
) )
type Contact struct { type Contact struct {

View file

@ -4,9 +4,9 @@ import (
"net/http" "net/http"
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/camzawacki/personal-site/pkg/context" "github.com/mikestefanello/pagoda/pkg/context"
"github.com/camzawacki/personal-site/pkg/log" "github.com/mikestefanello/pagoda/pkg/log"
"github.com/camzawacki/personal-site/pkg/ui/pages" "github.com/mikestefanello/pagoda/pkg/ui/pages"
) )
type Error struct{} type Error struct{}

View file

@ -6,11 +6,11 @@ import (
"time" "time"
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/camzawacki/personal-site/pkg/msg" "github.com/mikestefanello/pagoda/pkg/msg"
"github.com/camzawacki/personal-site/pkg/routenames" "github.com/mikestefanello/pagoda/pkg/routenames"
"github.com/camzawacki/personal-site/pkg/services" "github.com/mikestefanello/pagoda/pkg/services"
"github.com/camzawacki/personal-site/pkg/ui/models" "github.com/mikestefanello/pagoda/pkg/ui/models"
"github.com/camzawacki/personal-site/pkg/ui/pages" "github.com/mikestefanello/pagoda/pkg/ui/pages"
"github.com/spf13/afero" "github.com/spf13/afero"
) )

View file

@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/camzawacki/personal-site/pkg/services" "github.com/mikestefanello/pagoda/pkg/services"
) )
var handlers []Handler var handlers []Handler

View file

@ -4,11 +4,11 @@ import (
"fmt" "fmt"
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/camzawacki/personal-site/pkg/pager" "github.com/mikestefanello/pagoda/pkg/pager"
"github.com/camzawacki/personal-site/pkg/routenames" "github.com/mikestefanello/pagoda/pkg/routenames"
"github.com/camzawacki/personal-site/pkg/services" "github.com/mikestefanello/pagoda/pkg/services"
"github.com/camzawacki/personal-site/pkg/ui/models" "github.com/mikestefanello/pagoda/pkg/ui/models"
"github.com/camzawacki/personal-site/pkg/ui/pages" "github.com/mikestefanello/pagoda/pkg/ui/pages"
) )
type Pages struct{} type Pages struct{}

View file

@ -4,7 +4,7 @@ import (
"net/http" "net/http"
"testing" "testing"
"github.com/camzawacki/personal-site/pkg/routenames" "github.com/mikestefanello/pagoda/pkg/routenames"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
) )

View file

@ -7,10 +7,10 @@ import (
"github.com/gorilla/sessions" "github.com/gorilla/sessions"
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
echomw "github.com/labstack/echo/v4/middleware" echomw "github.com/labstack/echo/v4/middleware"
"github.com/camzawacki/personal-site/pkg/context" "github.com/mikestefanello/pagoda/pkg/context"
"github.com/camzawacki/personal-site/pkg/middleware" "github.com/mikestefanello/pagoda/pkg/middleware"
"github.com/camzawacki/personal-site/pkg/services" "github.com/mikestefanello/pagoda/pkg/services"
files "github.com/camzawacki/personal-site/public" files "github.com/mikestefanello/pagoda/public"
) )
// BuildRouter builds the router. // BuildRouter builds the router.

View file

@ -8,8 +8,8 @@ import (
"os" "os"
"testing" "testing"
"github.com/camzawacki/personal-site/config" "github.com/mikestefanello/pagoda/config"
"github.com/camzawacki/personal-site/pkg/services" "github.com/mikestefanello/pagoda/pkg/services"
"github.com/PuerkitoBio/goquery" "github.com/PuerkitoBio/goquery"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"

View file

@ -5,10 +5,10 @@ import (
"math/rand" "math/rand"
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/camzawacki/personal-site/pkg/routenames" "github.com/mikestefanello/pagoda/pkg/routenames"
"github.com/camzawacki/personal-site/pkg/services" "github.com/mikestefanello/pagoda/pkg/services"
"github.com/camzawacki/personal-site/pkg/ui/models" "github.com/mikestefanello/pagoda/pkg/ui/models"
"github.com/camzawacki/personal-site/pkg/ui/pages" "github.com/mikestefanello/pagoda/pkg/ui/pages"
) )
type Search struct{} type Search struct{}

View file

@ -5,16 +5,16 @@ import (
"time" "time"
"github.com/mikestefanello/backlite" "github.com/mikestefanello/backlite"
"github.com/camzawacki/personal-site/pkg/msg" "github.com/mikestefanello/pagoda/pkg/msg"
"github.com/camzawacki/personal-site/pkg/routenames" "github.com/mikestefanello/pagoda/pkg/routenames"
"github.com/camzawacki/personal-site/pkg/ui/forms" "github.com/mikestefanello/pagoda/pkg/ui/forms"
"github.com/camzawacki/personal-site/pkg/ui/pages" "github.com/mikestefanello/pagoda/pkg/ui/pages"
"github.com/go-playground/validator/v10" "github.com/go-playground/validator/v10"
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/camzawacki/personal-site/pkg/form" "github.com/mikestefanello/pagoda/pkg/form"
"github.com/camzawacki/personal-site/pkg/services" "github.com/mikestefanello/pagoda/pkg/services"
"github.com/camzawacki/personal-site/pkg/tasks" "github.com/mikestefanello/pagoda/pkg/tasks"
) )
type Task struct { type Task struct {

View file

@ -4,7 +4,7 @@ import (
"net/http" "net/http"
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/camzawacki/personal-site/pkg/context" "github.com/mikestefanello/pagoda/pkg/context"
) )
// Request headers: https://htmx.org/docs/#request-headers // Request headers: https://htmx.org/docs/#request-headers

View file

@ -4,8 +4,8 @@ import (
"net/http" "net/http"
"testing" "testing"
"github.com/camzawacki/personal-site/pkg/context" "github.com/mikestefanello/pagoda/pkg/context"
"github.com/camzawacki/personal-site/pkg/tests" "github.com/mikestefanello/pagoda/pkg/tests"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"

View file

@ -4,7 +4,7 @@ import (
"log/slog" "log/slog"
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/camzawacki/personal-site/pkg/context" "github.com/mikestefanello/pagoda/pkg/context"
) )
// Set sets a logger in the context. // Set sets a logger in the context.

View file

@ -4,7 +4,7 @@ import (
"testing" "testing"
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/camzawacki/personal-site/pkg/tests" "github.com/mikestefanello/pagoda/pkg/tests"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
) )

View file

@ -5,12 +5,12 @@ import (
"net/http" "net/http"
"strconv" "strconv"
"github.com/camzawacki/personal-site/ent" "github.com/mikestefanello/pagoda/ent"
"github.com/camzawacki/personal-site/pkg/context" "github.com/mikestefanello/pagoda/pkg/context"
"github.com/camzawacki/personal-site/pkg/log" "github.com/mikestefanello/pagoda/pkg/log"
"github.com/camzawacki/personal-site/pkg/msg" "github.com/mikestefanello/pagoda/pkg/msg"
"github.com/camzawacki/personal-site/pkg/routenames" "github.com/mikestefanello/pagoda/pkg/routenames"
"github.com/camzawacki/personal-site/pkg/services" "github.com/mikestefanello/pagoda/pkg/services"
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
) )

View file

@ -6,9 +6,9 @@ import (
"net/http" "net/http"
"testing" "testing"
"github.com/camzawacki/personal-site/ent" "github.com/mikestefanello/pagoda/ent"
"github.com/camzawacki/personal-site/pkg/context" "github.com/mikestefanello/pagoda/pkg/context"
"github.com/camzawacki/personal-site/pkg/tests" "github.com/mikestefanello/pagoda/pkg/tests"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"

View file

@ -4,7 +4,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/camzawacki/personal-site/pkg/tests" "github.com/mikestefanello/pagoda/pkg/tests"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
) )

View file

@ -2,8 +2,8 @@ package middleware
import ( import (
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/camzawacki/personal-site/config" "github.com/mikestefanello/pagoda/config"
"github.com/camzawacki/personal-site/pkg/context" "github.com/mikestefanello/pagoda/pkg/context"
) )
// Config stores the configuration in the request so it can be accessed by the ui. // Config stores the configuration in the request so it can be accessed by the ui.

View file

@ -3,9 +3,9 @@ package middleware
import ( import (
"testing" "testing"
"github.com/camzawacki/personal-site/config" "github.com/mikestefanello/pagoda/config"
"github.com/camzawacki/personal-site/pkg/context" "github.com/mikestefanello/pagoda/pkg/context"
"github.com/camzawacki/personal-site/pkg/tests" "github.com/mikestefanello/pagoda/pkg/tests"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -5,9 +5,9 @@ import (
"net/http" "net/http"
"strconv" "strconv"
"github.com/camzawacki/personal-site/ent" "github.com/mikestefanello/pagoda/ent"
"github.com/camzawacki/personal-site/ent/user" "github.com/mikestefanello/pagoda/ent/user"
"github.com/camzawacki/personal-site/pkg/context" "github.com/mikestefanello/pagoda/pkg/context"
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
) )

View file

@ -4,9 +4,9 @@ import (
"fmt" "fmt"
"testing" "testing"
"github.com/camzawacki/personal-site/ent" "github.com/mikestefanello/pagoda/ent"
"github.com/camzawacki/personal-site/pkg/context" "github.com/mikestefanello/pagoda/pkg/context"
"github.com/camzawacki/personal-site/pkg/tests" "github.com/mikestefanello/pagoda/pkg/tests"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"

View file

@ -6,7 +6,7 @@ import (
"time" "time"
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/camzawacki/personal-site/pkg/log" "github.com/mikestefanello/pagoda/pkg/log"
) )
// SetLogger initializes a logger for the current request and stores it in the context. // SetLogger initializes a logger for the current request and stores it in the context.

View file

@ -7,8 +7,8 @@ import (
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
echomw "github.com/labstack/echo/v4/middleware" echomw "github.com/labstack/echo/v4/middleware"
"github.com/camzawacki/personal-site/pkg/log" "github.com/mikestefanello/pagoda/pkg/log"
"github.com/camzawacki/personal-site/pkg/tests" "github.com/mikestefanello/pagoda/pkg/tests"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"

View file

@ -4,10 +4,10 @@ import (
"os" "os"
"testing" "testing"
"github.com/camzawacki/personal-site/config" "github.com/mikestefanello/pagoda/config"
"github.com/camzawacki/personal-site/ent" "github.com/mikestefanello/pagoda/ent"
"github.com/camzawacki/personal-site/pkg/services" "github.com/mikestefanello/pagoda/pkg/services"
"github.com/camzawacki/personal-site/pkg/tests" "github.com/mikestefanello/pagoda/pkg/tests"
) )
var ( var (

View file

@ -4,7 +4,7 @@ import (
"github.com/gorilla/context" "github.com/gorilla/context"
"github.com/gorilla/sessions" "github.com/gorilla/sessions"
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/camzawacki/personal-site/pkg/session" "github.com/mikestefanello/pagoda/pkg/session"
) )
// Session sets the session storage in the request context // Session sets the session storage in the request context

View file

@ -4,8 +4,8 @@ import (
"testing" "testing"
"github.com/gorilla/sessions" "github.com/gorilla/sessions"
"github.com/camzawacki/personal-site/pkg/session" "github.com/mikestefanello/pagoda/pkg/session"
"github.com/camzawacki/personal-site/pkg/tests" "github.com/mikestefanello/pagoda/pkg/tests"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -3,8 +3,8 @@ package msg
import ( import (
"github.com/gorilla/sessions" "github.com/gorilla/sessions"
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/camzawacki/personal-site/pkg/log" "github.com/mikestefanello/pagoda/pkg/log"
"github.com/camzawacki/personal-site/pkg/session" "github.com/mikestefanello/pagoda/pkg/session"
) )
// Type is a message type. // Type is a message type.

View file

@ -3,7 +3,7 @@ package msg
import ( import (
"testing" "testing"
"github.com/camzawacki/personal-site/pkg/tests" "github.com/mikestefanello/pagoda/pkg/tests"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"

View file

@ -5,7 +5,7 @@ import (
"testing" "testing"
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/camzawacki/personal-site/pkg/tests" "github.com/mikestefanello/pagoda/pkg/tests"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
) )

View file

@ -7,7 +7,7 @@ import (
"net/url" "net/url"
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/camzawacki/personal-site/pkg/htmx" "github.com/mikestefanello/pagoda/pkg/htmx"
) )
// Redirect is a helper to perform HTTP redirects. // Redirect is a helper to perform HTTP redirects.

View file

@ -6,8 +6,8 @@ import (
"testing" "testing"
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/camzawacki/personal-site/pkg/htmx" "github.com/mikestefanello/pagoda/pkg/htmx"
"github.com/camzawacki/personal-site/pkg/tests" "github.com/mikestefanello/pagoda/pkg/tests"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View file

@ -8,12 +8,12 @@ import (
"time" "time"
"github.com/golang-jwt/jwt/v5" "github.com/golang-jwt/jwt/v5"
"github.com/camzawacki/personal-site/config" "github.com/mikestefanello/pagoda/config"
"github.com/camzawacki/personal-site/ent" "github.com/mikestefanello/pagoda/ent"
"github.com/camzawacki/personal-site/ent/passwordtoken" "github.com/mikestefanello/pagoda/ent/passwordtoken"
"github.com/camzawacki/personal-site/ent/user" "github.com/mikestefanello/pagoda/ent/user"
"github.com/camzawacki/personal-site/pkg/context" "github.com/mikestefanello/pagoda/pkg/context"
"github.com/camzawacki/personal-site/pkg/session" "github.com/mikestefanello/pagoda/pkg/session"
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"golang.org/x/crypto/bcrypt" "golang.org/x/crypto/bcrypt"

View file

@ -6,8 +6,8 @@ import (
"testing" "testing"
"time" "time"
"github.com/camzawacki/personal-site/ent/passwordtoken" "github.com/mikestefanello/pagoda/ent/passwordtoken"
"github.com/camzawacki/personal-site/ent/user" "github.com/mikestefanello/pagoda/ent/user"
"golang.org/x/crypto/bcrypt" "golang.org/x/crypto/bcrypt"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"

View file

@ -13,13 +13,13 @@ import (
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
_ "github.com/mattn/go-sqlite3" _ "github.com/mattn/go-sqlite3"
"github.com/mikestefanello/backlite" "github.com/mikestefanello/backlite"
"github.com/camzawacki/personal-site/config" "github.com/mikestefanello/pagoda/config"
"github.com/camzawacki/personal-site/ent" "github.com/mikestefanello/pagoda/ent"
"github.com/camzawacki/personal-site/pkg/log" "github.com/mikestefanello/pagoda/pkg/log"
"github.com/spf13/afero" "github.com/spf13/afero"
// Required by ent. // Required by ent.
_ "github.com/camzawacki/personal-site/ent/runtime" _ "github.com/mikestefanello/pagoda/ent/runtime"
) )
// Container contains all services used by the application and provides an easy way to handle dependency // Container contains all services used by the application and provides an easy way to handle dependency

View file

@ -4,8 +4,8 @@ import (
"bytes" "bytes"
"errors" "errors"
"github.com/camzawacki/personal-site/config" "github.com/mikestefanello/pagoda/config"
"github.com/camzawacki/personal-site/pkg/log" "github.com/mikestefanello/pagoda/pkg/log"
"maragu.dev/gomponents" "maragu.dev/gomponents"
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"

View file

@ -4,9 +4,9 @@ import (
"os" "os"
"testing" "testing"
"github.com/camzawacki/personal-site/config" "github.com/mikestefanello/pagoda/config"
"github.com/camzawacki/personal-site/ent" "github.com/mikestefanello/pagoda/ent"
"github.com/camzawacki/personal-site/pkg/tests" "github.com/mikestefanello/pagoda/pkg/tests"
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
) )

View file

@ -5,7 +5,7 @@ import (
"github.com/gorilla/sessions" "github.com/gorilla/sessions"
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/camzawacki/personal-site/pkg/context" "github.com/mikestefanello/pagoda/pkg/context"
) )
// ErrStoreNotFound indicates that the session store was not present in the context // ErrStoreNotFound indicates that the session store was not present in the context

View file

@ -5,10 +5,10 @@ import (
"time" "time"
"github.com/mikestefanello/backlite" "github.com/mikestefanello/backlite"
"github.com/camzawacki/personal-site/pkg/routenames" "github.com/mikestefanello/pagoda/pkg/routenames"
"github.com/camzawacki/personal-site/pkg/log" "github.com/mikestefanello/pagoda/pkg/log"
"github.com/camzawacki/personal-site/pkg/services" "github.com/mikestefanello/pagoda/pkg/services"
) )
// ExampleTask is an example implementation of backlite.Task. // ExampleTask is an example implementation of backlite.Task.

View file

@ -1,7 +1,7 @@
package tasks package tasks
import ( import (
"github.com/camzawacki/personal-site/pkg/services" "github.com/mikestefanello/pagoda/pkg/services"
) )
// Register registers all task queues with the task client. // Register registers all task queues with the task client.

View file

@ -10,8 +10,8 @@ import (
"testing" "testing"
"time" "time"
"github.com/camzawacki/personal-site/ent" "github.com/mikestefanello/pagoda/ent"
"github.com/camzawacki/personal-site/pkg/session" "github.com/mikestefanello/pagoda/pkg/session"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"

View file

@ -4,7 +4,7 @@ import (
"bytes" "bytes"
"sync" "sync"
"github.com/camzawacki/personal-site/pkg/log" "github.com/mikestefanello/pagoda/pkg/log"
"maragu.dev/gomponents" "maragu.dev/gomponents"
) )

View file

@ -1,9 +1,9 @@
package components package components
import ( import (
"github.com/camzawacki/personal-site/pkg/msg" "github.com/mikestefanello/pagoda/pkg/msg"
"github.com/camzawacki/personal-site/pkg/ui" "github.com/mikestefanello/pagoda/pkg/ui"
"github.com/camzawacki/personal-site/pkg/ui/icons" "github.com/mikestefanello/pagoda/pkg/ui/icons"
. "maragu.dev/gomponents" . "maragu.dev/gomponents"
. "maragu.dev/gomponents/html" . "maragu.dev/gomponents/html"
) )

View file

@ -1,8 +1,8 @@
package components package components
import ( import (
"github.com/camzawacki/personal-site/pkg/form" "github.com/mikestefanello/pagoda/pkg/form"
"github.com/camzawacki/personal-site/pkg/ui" "github.com/mikestefanello/pagoda/pkg/ui"
. "maragu.dev/gomponents" . "maragu.dev/gomponents"
. "maragu.dev/gomponents/html" . "maragu.dev/gomponents/html"
) )

View file

@ -3,7 +3,7 @@ package components
import ( import (
"strings" "strings"
"github.com/camzawacki/personal-site/pkg/ui" "github.com/mikestefanello/pagoda/pkg/ui"
. "maragu.dev/gomponents" . "maragu.dev/gomponents"
. "maragu.dev/gomponents/html" . "maragu.dev/gomponents/html"
) )

View file

@ -3,7 +3,7 @@ package components
import ( import (
"fmt" "fmt"
"github.com/camzawacki/personal-site/pkg/ui" "github.com/mikestefanello/pagoda/pkg/ui"
. "maragu.dev/gomponents" . "maragu.dev/gomponents"
. "maragu.dev/gomponents/html" . "maragu.dev/gomponents/html"
) )

View file

@ -3,8 +3,8 @@ package components
import ( import (
"fmt" "fmt"
"github.com/camzawacki/personal-site/pkg/pager" "github.com/mikestefanello/pagoda/pkg/pager"
"github.com/camzawacki/personal-site/pkg/ui" "github.com/mikestefanello/pagoda/pkg/ui"
. "maragu.dev/gomponents" . "maragu.dev/gomponents"
. "maragu.dev/gomponents/components" . "maragu.dev/gomponents/components"
. "maragu.dev/gomponents/html" . "maragu.dev/gomponents/html"

View file

@ -2,8 +2,8 @@ package emails
import ( import (
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/camzawacki/personal-site/pkg/routenames" "github.com/mikestefanello/pagoda/pkg/routenames"
"github.com/camzawacki/personal-site/pkg/ui" "github.com/mikestefanello/pagoda/pkg/ui"
. "maragu.dev/gomponents" . "maragu.dev/gomponents"
. "maragu.dev/gomponents/html" . "maragu.dev/gomponents/html"
) )

View file

@ -5,10 +5,10 @@ import (
"net/url" "net/url"
"entgo.io/ent/schema/field" "entgo.io/ent/schema/field"
"github.com/camzawacki/personal-site/ent/admin" "github.com/mikestefanello/pagoda/ent/admin"
"github.com/camzawacki/personal-site/pkg/routenames" "github.com/mikestefanello/pagoda/pkg/routenames"
"github.com/camzawacki/personal-site/pkg/ui" "github.com/mikestefanello/pagoda/pkg/ui"
. "github.com/camzawacki/personal-site/pkg/ui/components" . "github.com/mikestefanello/pagoda/pkg/ui/components"
. "maragu.dev/gomponents" . "maragu.dev/gomponents"
. "maragu.dev/gomponents/html" . "maragu.dev/gomponents/html"
) )

View file

@ -3,10 +3,10 @@ package forms
import ( import (
"net/http" "net/http"
"github.com/camzawacki/personal-site/ent/admin" "github.com/mikestefanello/pagoda/ent/admin"
"github.com/camzawacki/personal-site/pkg/routenames" "github.com/mikestefanello/pagoda/pkg/routenames"
"github.com/camzawacki/personal-site/pkg/ui" "github.com/mikestefanello/pagoda/pkg/ui"
. "github.com/camzawacki/personal-site/pkg/ui/components" . "github.com/mikestefanello/pagoda/pkg/ui/components"
. "maragu.dev/gomponents" . "maragu.dev/gomponents"
. "maragu.dev/gomponents/html" . "maragu.dev/gomponents/html"
) )

View file

@ -3,10 +3,10 @@ package forms
import ( import (
"net/http" "net/http"
"github.com/camzawacki/personal-site/pkg/form" "github.com/mikestefanello/pagoda/pkg/form"
"github.com/camzawacki/personal-site/pkg/routenames" "github.com/mikestefanello/pagoda/pkg/routenames"
"github.com/camzawacki/personal-site/pkg/ui" "github.com/mikestefanello/pagoda/pkg/ui"
. "github.com/camzawacki/personal-site/pkg/ui/components" . "github.com/mikestefanello/pagoda/pkg/ui/components"
. "maragu.dev/gomponents" . "maragu.dev/gomponents"
. "maragu.dev/gomponents/html" . "maragu.dev/gomponents/html"
) )

View file

@ -3,10 +3,10 @@ package forms
import ( import (
"net/http" "net/http"
"github.com/camzawacki/personal-site/pkg/form" "github.com/mikestefanello/pagoda/pkg/form"
"github.com/camzawacki/personal-site/pkg/routenames" "github.com/mikestefanello/pagoda/pkg/routenames"
"github.com/camzawacki/personal-site/pkg/ui" "github.com/mikestefanello/pagoda/pkg/ui"
. "github.com/camzawacki/personal-site/pkg/ui/components" . "github.com/mikestefanello/pagoda/pkg/ui/components"
. "maragu.dev/gomponents" . "maragu.dev/gomponents"
. "maragu.dev/gomponents/html" . "maragu.dev/gomponents/html"
) )

View file

@ -3,9 +3,9 @@ package forms
import ( import (
"net/http" "net/http"
"github.com/camzawacki/personal-site/pkg/routenames" "github.com/mikestefanello/pagoda/pkg/routenames"
"github.com/camzawacki/personal-site/pkg/ui" "github.com/mikestefanello/pagoda/pkg/ui"
. "github.com/camzawacki/personal-site/pkg/ui/components" . "github.com/mikestefanello/pagoda/pkg/ui/components"
. "maragu.dev/gomponents" . "maragu.dev/gomponents"
. "maragu.dev/gomponents/html" . "maragu.dev/gomponents/html"
) )

View file

@ -3,10 +3,10 @@ package forms
import ( import (
"net/http" "net/http"
"github.com/camzawacki/personal-site/pkg/form" "github.com/mikestefanello/pagoda/pkg/form"
"github.com/camzawacki/personal-site/pkg/routenames" "github.com/mikestefanello/pagoda/pkg/routenames"
"github.com/camzawacki/personal-site/pkg/ui" "github.com/mikestefanello/pagoda/pkg/ui"
. "github.com/camzawacki/personal-site/pkg/ui/components" . "github.com/mikestefanello/pagoda/pkg/ui/components"
. "maragu.dev/gomponents" . "maragu.dev/gomponents"
. "maragu.dev/gomponents/html" . "maragu.dev/gomponents/html"
) )

View file

@ -3,10 +3,10 @@ package forms
import ( import (
"net/http" "net/http"
"github.com/camzawacki/personal-site/pkg/form" "github.com/mikestefanello/pagoda/pkg/form"
"github.com/camzawacki/personal-site/pkg/routenames" "github.com/mikestefanello/pagoda/pkg/routenames"
"github.com/camzawacki/personal-site/pkg/ui" "github.com/mikestefanello/pagoda/pkg/ui"
. "github.com/camzawacki/personal-site/pkg/ui/components" . "github.com/mikestefanello/pagoda/pkg/ui/components"
. "maragu.dev/gomponents" . "maragu.dev/gomponents"
. "maragu.dev/gomponents/html" . "maragu.dev/gomponents/html"
) )

View file

@ -3,10 +3,10 @@ package forms
import ( import (
"net/http" "net/http"
"github.com/camzawacki/personal-site/pkg/form" "github.com/mikestefanello/pagoda/pkg/form"
"github.com/camzawacki/personal-site/pkg/routenames" "github.com/mikestefanello/pagoda/pkg/routenames"
"github.com/camzawacki/personal-site/pkg/ui" "github.com/mikestefanello/pagoda/pkg/ui"
. "github.com/camzawacki/personal-site/pkg/ui/components" . "github.com/mikestefanello/pagoda/pkg/ui/components"
. "maragu.dev/gomponents" . "maragu.dev/gomponents"
. "maragu.dev/gomponents/html" . "maragu.dev/gomponents/html"
) )

View file

@ -3,9 +3,9 @@ package forms
import ( import (
"net/http" "net/http"
"github.com/camzawacki/personal-site/pkg/form" "github.com/mikestefanello/pagoda/pkg/form"
"github.com/camzawacki/personal-site/pkg/ui" "github.com/mikestefanello/pagoda/pkg/ui"
. "github.com/camzawacki/personal-site/pkg/ui/components" . "github.com/mikestefanello/pagoda/pkg/ui/components"
. "maragu.dev/gomponents" . "maragu.dev/gomponents"
. "maragu.dev/gomponents/html" . "maragu.dev/gomponents/html"
) )

View file

@ -4,10 +4,10 @@ import (
"fmt" "fmt"
"net/http" "net/http"
"github.com/camzawacki/personal-site/pkg/form" "github.com/mikestefanello/pagoda/pkg/form"
"github.com/camzawacki/personal-site/pkg/routenames" "github.com/mikestefanello/pagoda/pkg/routenames"
"github.com/camzawacki/personal-site/pkg/ui" "github.com/mikestefanello/pagoda/pkg/ui"
. "github.com/camzawacki/personal-site/pkg/ui/components" . "github.com/mikestefanello/pagoda/pkg/ui/components"
. "maragu.dev/gomponents" . "maragu.dev/gomponents"
. "maragu.dev/gomponents/html" . "maragu.dev/gomponents/html"
) )

View file

@ -3,7 +3,7 @@ package icons
import ( import (
"fmt" "fmt"
"github.com/camzawacki/personal-site/pkg/ui/cache" "github.com/mikestefanello/pagoda/pkg/ui/cache"
. "maragu.dev/gomponents" . "maragu.dev/gomponents"
. "maragu.dev/gomponents/html" . "maragu.dev/gomponents/html"
) )

View file

@ -1,8 +1,8 @@
package layouts package layouts
import ( import (
"github.com/camzawacki/personal-site/pkg/ui" "github.com/mikestefanello/pagoda/pkg/ui"
. "github.com/camzawacki/personal-site/pkg/ui/components" . "github.com/mikestefanello/pagoda/pkg/ui/components"
. "maragu.dev/gomponents" . "maragu.dev/gomponents"
. "maragu.dev/gomponents/html" . "maragu.dev/gomponents/html"
) )

View file

@ -1,12 +1,12 @@
package layouts package layouts
import ( import (
"github.com/camzawacki/personal-site/ent/admin" "github.com/mikestefanello/pagoda/ent/admin"
"github.com/camzawacki/personal-site/pkg/routenames" "github.com/mikestefanello/pagoda/pkg/routenames"
"github.com/camzawacki/personal-site/pkg/ui" "github.com/mikestefanello/pagoda/pkg/ui"
"github.com/camzawacki/personal-site/pkg/ui/cache" "github.com/mikestefanello/pagoda/pkg/ui/cache"
. "github.com/camzawacki/personal-site/pkg/ui/components" . "github.com/mikestefanello/pagoda/pkg/ui/components"
"github.com/camzawacki/personal-site/pkg/ui/icons" "github.com/mikestefanello/pagoda/pkg/ui/icons"
. "maragu.dev/gomponents" . "maragu.dev/gomponents"
. "maragu.dev/gomponents/html" . "maragu.dev/gomponents/html"
) )

View file

@ -3,9 +3,9 @@ package models
import ( import (
"fmt" "fmt"
"github.com/camzawacki/personal-site/pkg/pager" "github.com/mikestefanello/pagoda/pkg/pager"
"github.com/camzawacki/personal-site/pkg/ui" "github.com/mikestefanello/pagoda/pkg/ui"
. "github.com/camzawacki/personal-site/pkg/ui/components" . "github.com/mikestefanello/pagoda/pkg/ui/components"
. "maragu.dev/gomponents" . "maragu.dev/gomponents"
. "maragu.dev/gomponents/html" . "maragu.dev/gomponents/html"
) )

Some files were not shown because too many files have changed in this diff Show more