Compare commits
153 commits
dfefe65ec0
...
c72257132c
| Author | SHA1 | Date | |
|---|---|---|---|
| c72257132c | |||
| 4d5d45d1a4 | |||
|
|
05cf6c8318 | ||
|
|
9aa6784751 | ||
|
|
2a853c05d6 | ||
|
|
a8a9f5ee3a | ||
|
|
be5c1f9197 | ||
|
|
3ffdea90c3 | ||
|
|
9e6d9fd063 | ||
|
|
67a97832a5 | ||
|
|
7505598324 | ||
|
|
96ad22cda3 | ||
|
|
eba3d5e105 | ||
|
|
939e1ceed5 | ||
|
|
c1e9baabe6 | ||
|
|
fc5db0e95a | ||
|
|
9e15bceace | ||
|
|
3cfcb43031 | ||
|
|
52f87580a0 | ||
|
|
a53bdf9a1b | ||
|
|
77cabe5f12 | ||
|
|
1a6874fd82 | ||
|
|
60009df0bf | ||
|
|
4d7b780087 | ||
|
|
c8db468292 | ||
|
|
02236266f1 | ||
|
|
83127d590a | ||
|
|
051d032038 | ||
|
|
0bf9ab7189 | ||
|
|
acbc5e4bf6 | ||
|
|
3eab2f5562 | ||
|
|
09b8393c8a | ||
|
|
732e81f5a4 | ||
|
|
4e5c5127e8 | ||
|
|
f8192d3ad6 | ||
|
|
575c46db22 | ||
|
|
ca0743d8a6 | ||
|
|
eee36e3cbe | ||
|
|
42a07787f0 | ||
|
|
e4370e8ba0 | ||
|
|
5a6cec5294 | ||
|
|
bce426dd0a | ||
|
|
12c5662cb9 | ||
|
|
be997e53d8 | ||
|
|
a096abd195 | ||
|
|
5e9e502b42 | ||
|
|
a70003d290 | ||
|
|
8cae6e6beb | ||
|
|
75aefa8a0a | ||
|
|
8eafb6b666 | ||
|
|
baa391fb20 | ||
|
|
c8a3d64918 | ||
|
|
97bef0257e | ||
|
|
5f66b0ee71 | ||
|
|
26234c29a8 | ||
|
|
4540276472 | ||
|
|
ad4818aa8b | ||
|
|
59c10f1874 | ||
|
|
8ca11c90e1 | ||
|
|
da7044654c | ||
|
|
9213eb88c6 | ||
|
|
f3a95b4be7 | ||
|
|
6e6d2e3f09 | ||
|
|
4488b2255a | ||
|
|
f718a6b798 | ||
|
|
472dc0c358 | ||
|
|
740aebd1a9 | ||
|
|
203a856895 | ||
|
|
60c8aefd49 | ||
|
|
a787d5dc7f | ||
|
|
5f877c3d38 | ||
|
|
29fbadbadd | ||
|
|
11f5ddcee4 | ||
|
|
524d1a4915 | ||
|
|
ff82ba532a | ||
|
|
ed327dc066 | ||
|
|
9c0f0087d2 | ||
|
|
a75b07485c | ||
|
|
2618920e85 | ||
|
|
ef5aecc4b0 | ||
|
|
d815040397 | ||
|
|
bc917d4788 | ||
|
|
3aad9e5efb | ||
|
|
aed537d84e | ||
|
|
180b237b05 | ||
|
|
bdbef15593 | ||
|
|
b7de694716 | ||
|
|
bb880ef091 | ||
|
|
50ea32fe70 | ||
|
|
7bb28427d6 | ||
|
|
e676c48458 | ||
|
|
d052aba309 | ||
|
|
c90ffac0e8 | ||
|
|
b03beccfb2 | ||
|
|
7e4d92fc92 | ||
|
|
1f947eae7a | ||
|
|
fd0487abac | ||
|
|
70f96b4735 | ||
|
|
76ccf3b8db | ||
|
|
bf8df2624b | ||
|
|
2a69237f17 | ||
|
|
071ede73dd | ||
|
|
dceb232cb2 | ||
|
|
965fb540c7 | ||
|
|
99a7ec8a9e | ||
|
|
b33ef2e8d7 | ||
|
|
3c6bff3a3d | ||
|
|
521fea2530 | ||
|
|
9dc83a65cf | ||
|
|
b4621afbd9 | ||
|
|
ac0adde9e6 | ||
|
|
ea1ee27b89 | ||
|
|
11e0514d33 | ||
|
|
2c5d7039d3 | ||
|
|
bfe56d7a31 | ||
|
|
c0a7c9e3b1 | ||
|
|
d6748ed1db | ||
|
|
02d306fae3 | ||
|
|
77e9b60cbf | ||
|
|
7c8ecc2ebe | ||
|
|
ecd0120920 | ||
|
|
31a3503021 | ||
|
|
b4b8153d06 | ||
|
|
24ae49b54f | ||
|
|
a6289fe4cc | ||
|
|
271c0e9699 | ||
|
|
1809b154e3 | ||
|
|
0cb52b6e12 | ||
|
|
cb58b89b6c | ||
|
|
90408d68a7 | ||
|
|
27a2389e2c | ||
|
|
5def458946 | ||
|
|
a8bd9f8b2d | ||
|
|
eb1e42bb02 | ||
|
|
f4c98ba523 | ||
|
|
5c64cd6191 | ||
|
|
e90434edd5 | ||
|
|
22cece2d01 | ||
|
|
e8d73421aa | ||
|
|
3f053711ba | ||
|
|
bfbb9669aa | ||
|
|
d412e06dad | ||
|
|
acd38c8205 | ||
|
|
0f7da0864e | ||
|
|
ea46a38f68 | ||
|
|
feb11bbe5b | ||
|
|
3f123cd69e | ||
|
|
95cf930720 | ||
|
|
a986686247 | ||
|
|
f3545473af | ||
|
|
970769c57f | ||
|
|
849bad562e | ||
|
|
119640ad5b |
112 changed files with 359 additions and 1536 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -3,4 +3,4 @@ dbs
|
||||||
uploads
|
uploads
|
||||||
tmp
|
tmp
|
||||||
tailwindcss
|
tailwindcss
|
||||||
daisyui*
|
daisyui*.env
|
||||||
|
|
|
||||||
19
Dockerfile
Normal file
19
Dockerfile
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
# 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"]
|
||||||
|
|
@ -6,8 +6,8 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/mikestefanello/pagoda/pkg/log"
|
"github.com/camzawacki/personal-site/pkg/log"
|
||||||
"github.com/mikestefanello/pagoda/pkg/services"
|
"github.com/camzawacki/personal-site/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.
|
||||||
|
|
|
||||||
|
|
@ -9,10 +9,10 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"os/signal"
|
"os/signal"
|
||||||
|
|
||||||
"github.com/mikestefanello/pagoda/pkg/handlers"
|
"github.com/camzawacki/personal-site/pkg/handlers"
|
||||||
"github.com/mikestefanello/pagoda/pkg/log"
|
"github.com/camzawacki/personal-site/pkg/log"
|
||||||
"github.com/mikestefanello/pagoda/pkg/services"
|
"github.com/camzawacki/personal-site/pkg/services"
|
||||||
"github.com/mikestefanello/pagoda/pkg/tasks"
|
"github.com/camzawacki/personal-site/pkg/tasks"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
|
||||||
24
docker-compose.yml
Normal file
24
docker-compose.yml
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
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
|
||||||
|
|
@ -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/mikestefanello/pagoda/ent"
|
"github.com/camzawacki/personal-site/ent"
|
||||||
"github.com/mikestefanello/pagoda/ent/passwordtoken"
|
"github.com/camzawacki/personal-site/ent/passwordtoken"
|
||||||
"github.com/mikestefanello/pagoda/ent/user"
|
"github.com/camzawacki/personal-site/ent/user"
|
||||||
)
|
)
|
||||||
|
|
||||||
const dateTimeFormat = "2006-01-02T15:04:05"
|
const dateTimeFormat = "2006-01-02T15:04:05"
|
||||||
|
|
|
||||||
|
|
@ -9,14 +9,14 @@ import (
|
||||||
"log"
|
"log"
|
||||||
"reflect"
|
"reflect"
|
||||||
|
|
||||||
"github.com/mikestefanello/pagoda/ent/migrate"
|
"github.com/camzawacki/personal-site/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/mikestefanello/pagoda/ent/passwordtoken"
|
"github.com/camzawacki/personal-site/ent/passwordtoken"
|
||||||
"github.com/mikestefanello/pagoda/ent/user"
|
"github.com/camzawacki/personal-site/ent/user"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Client is the client that holds all ent builders.
|
// Client is the client that holds all ent builders.
|
||||||
|
|
|
||||||
|
|
@ -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/mikestefanello/pagoda/ent/passwordtoken"
|
"github.com/camzawacki/personal-site/ent/passwordtoken"
|
||||||
"github.com/mikestefanello/pagoda/ent/user"
|
"github.com/camzawacki/personal-site/ent/user"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ent aliases to avoid import conflicts in user's code.
|
// ent aliases to avoid import conflicts in user's code.
|
||||||
|
|
|
||||||
|
|
@ -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/mikestefanello/pagoda/ent/admin"
|
"github.com/camzawacki/personal-site/ent/admin"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
|
||||||
|
|
@ -5,12 +5,12 @@ package enttest
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/mikestefanello/pagoda/ent"
|
"github.com/camzawacki/personal-site/ent"
|
||||||
// required by schema hooks.
|
// required by schema hooks.
|
||||||
_ "github.com/mikestefanello/pagoda/ent/runtime"
|
_ "github.com/camzawacki/personal-site/ent/runtime"
|
||||||
|
|
||||||
"entgo.io/ent/dialect/sql/schema"
|
"entgo.io/ent/dialect/sql/schema"
|
||||||
"github.com/mikestefanello/pagoda/ent/migrate"
|
"github.com/camzawacki/personal-site/ent/migrate"
|
||||||
)
|
)
|
||||||
|
|
||||||
type (
|
type (
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ import (
|
||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/mikestefanello/pagoda/ent"
|
"github.com/camzawacki/personal-site/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
|
||||||
|
|
|
||||||
|
|
@ -11,9 +11,9 @@ import (
|
||||||
|
|
||||||
"entgo.io/ent"
|
"entgo.io/ent"
|
||||||
"entgo.io/ent/dialect/sql"
|
"entgo.io/ent/dialect/sql"
|
||||||
"github.com/mikestefanello/pagoda/ent/passwordtoken"
|
"github.com/camzawacki/personal-site/ent/passwordtoken"
|
||||||
"github.com/mikestefanello/pagoda/ent/predicate"
|
"github.com/camzawacki/personal-site/ent/predicate"
|
||||||
"github.com/mikestefanello/pagoda/ent/user"
|
"github.com/camzawacki/personal-site/ent/user"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,8 @@ import (
|
||||||
|
|
||||||
"entgo.io/ent"
|
"entgo.io/ent"
|
||||||
"entgo.io/ent/dialect/sql"
|
"entgo.io/ent/dialect/sql"
|
||||||
"github.com/mikestefanello/pagoda/ent/passwordtoken"
|
"github.com/camzawacki/personal-site/ent/passwordtoken"
|
||||||
"github.com/mikestefanello/pagoda/ent/user"
|
"github.com/camzawacki/personal-site/ent/user"
|
||||||
)
|
)
|
||||||
|
|
||||||
// PasswordToken is the model entity for the PasswordToken schema.
|
// PasswordToken is the model entity for the PasswordToken schema.
|
||||||
|
|
|
||||||
|
|
@ -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/mikestefanello/pagoda/ent/runtime"
|
// import _ "github.com/camzawacki/personal-site/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.
|
||||||
|
|
|
||||||
|
|
@ -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/mikestefanello/pagoda/ent/predicate"
|
"github.com/camzawacki/personal-site/ent/predicate"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ID filters vertices based on their ID field.
|
// ID filters vertices based on their ID field.
|
||||||
|
|
|
||||||
|
|
@ -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/mikestefanello/pagoda/ent/passwordtoken"
|
"github.com/camzawacki/personal-site/ent/passwordtoken"
|
||||||
"github.com/mikestefanello/pagoda/ent/user"
|
"github.com/camzawacki/personal-site/ent/user"
|
||||||
)
|
)
|
||||||
|
|
||||||
// PasswordTokenCreate is the builder for creating a PasswordToken entity.
|
// PasswordTokenCreate is the builder for creating a PasswordToken entity.
|
||||||
|
|
|
||||||
|
|
@ -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/mikestefanello/pagoda/ent/passwordtoken"
|
"github.com/camzawacki/personal-site/ent/passwordtoken"
|
||||||
"github.com/mikestefanello/pagoda/ent/predicate"
|
"github.com/camzawacki/personal-site/ent/predicate"
|
||||||
)
|
)
|
||||||
|
|
||||||
// PasswordTokenDelete is the builder for deleting a PasswordToken entity.
|
// PasswordTokenDelete is the builder for deleting a PasswordToken entity.
|
||||||
|
|
|
||||||
|
|
@ -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/mikestefanello/pagoda/ent/passwordtoken"
|
"github.com/camzawacki/personal-site/ent/passwordtoken"
|
||||||
"github.com/mikestefanello/pagoda/ent/predicate"
|
"github.com/camzawacki/personal-site/ent/predicate"
|
||||||
"github.com/mikestefanello/pagoda/ent/user"
|
"github.com/camzawacki/personal-site/ent/user"
|
||||||
)
|
)
|
||||||
|
|
||||||
// PasswordTokenQuery is the builder for querying PasswordToken entities.
|
// PasswordTokenQuery is the builder for querying PasswordToken entities.
|
||||||
|
|
|
||||||
|
|
@ -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/mikestefanello/pagoda/ent/passwordtoken"
|
"github.com/camzawacki/personal-site/ent/passwordtoken"
|
||||||
"github.com/mikestefanello/pagoda/ent/predicate"
|
"github.com/camzawacki/personal-site/ent/predicate"
|
||||||
"github.com/mikestefanello/pagoda/ent/user"
|
"github.com/camzawacki/personal-site/ent/user"
|
||||||
)
|
)
|
||||||
|
|
||||||
// PasswordTokenUpdate is the builder for updating PasswordToken entities.
|
// PasswordTokenUpdate is the builder for updating PasswordToken entities.
|
||||||
|
|
|
||||||
|
|
@ -2,4 +2,4 @@
|
||||||
|
|
||||||
package ent
|
package ent
|
||||||
|
|
||||||
// The schema-stitching logic is generated in github.com/mikestefanello/pagoda/ent/runtime/runtime.go
|
// The schema-stitching logic is generated in github.com/camzawacki/personal-site/ent/runtime/runtime.go
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,9 @@ package runtime
|
||||||
import (
|
import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/mikestefanello/pagoda/ent/passwordtoken"
|
"github.com/camzawacki/personal-site/ent/passwordtoken"
|
||||||
"github.com/mikestefanello/pagoda/ent/schema"
|
"github.com/camzawacki/personal-site/ent/schema"
|
||||||
"github.com/mikestefanello/pagoda/ent/user"
|
"github.com/camzawacki/personal-site/ent/user"
|
||||||
)
|
)
|
||||||
|
|
||||||
// The init function reads all schema descriptors with runtime code
|
// The init function reads all schema descriptors with runtime code
|
||||||
|
|
|
||||||
|
|
@ -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/mikestefanello/pagoda/ent"
|
ge "github.com/camzawacki/personal-site/ent"
|
||||||
"github.com/mikestefanello/pagoda/ent/hook"
|
"github.com/camzawacki/personal-site/ent/hook"
|
||||||
"golang.org/x/crypto/bcrypt"
|
"golang.org/x/crypto/bcrypt"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,8 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
ge "github.com/mikestefanello/pagoda/ent"
|
ge "github.com/camzawacki/personal-site/ent"
|
||||||
"github.com/mikestefanello/pagoda/ent/hook"
|
"github.com/camzawacki/personal-site/ent/hook"
|
||||||
"golang.org/x/crypto/bcrypt"
|
"golang.org/x/crypto/bcrypt"
|
||||||
|
|
||||||
"entgo.io/ent"
|
"entgo.io/ent"
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ import (
|
||||||
|
|
||||||
"entgo.io/ent"
|
"entgo.io/ent"
|
||||||
"entgo.io/ent/dialect/sql"
|
"entgo.io/ent/dialect/sql"
|
||||||
"github.com/mikestefanello/pagoda/ent/user"
|
"github.com/camzawacki/personal-site/ent/user"
|
||||||
)
|
)
|
||||||
|
|
||||||
// User is the model entity for the User schema.
|
// User is the model entity for the User schema.
|
||||||
|
|
|
||||||
|
|
@ -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/mikestefanello/pagoda/ent/runtime"
|
// import _ "github.com/camzawacki/personal-site/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.
|
||||||
|
|
|
||||||
|
|
@ -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/mikestefanello/pagoda/ent/predicate"
|
"github.com/camzawacki/personal-site/ent/predicate"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ID filters vertices based on their ID field.
|
// ID filters vertices based on their ID field.
|
||||||
|
|
|
||||||
|
|
@ -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/mikestefanello/pagoda/ent/passwordtoken"
|
"github.com/camzawacki/personal-site/ent/passwordtoken"
|
||||||
"github.com/mikestefanello/pagoda/ent/user"
|
"github.com/camzawacki/personal-site/ent/user"
|
||||||
)
|
)
|
||||||
|
|
||||||
// UserCreate is the builder for creating a User entity.
|
// UserCreate is the builder for creating a User entity.
|
||||||
|
|
|
||||||
|
|
@ -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/mikestefanello/pagoda/ent/predicate"
|
"github.com/camzawacki/personal-site/ent/predicate"
|
||||||
"github.com/mikestefanello/pagoda/ent/user"
|
"github.com/camzawacki/personal-site/ent/user"
|
||||||
)
|
)
|
||||||
|
|
||||||
// UserDelete is the builder for deleting a User entity.
|
// UserDelete is the builder for deleting a User entity.
|
||||||
|
|
|
||||||
|
|
@ -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/mikestefanello/pagoda/ent/passwordtoken"
|
"github.com/camzawacki/personal-site/ent/passwordtoken"
|
||||||
"github.com/mikestefanello/pagoda/ent/predicate"
|
"github.com/camzawacki/personal-site/ent/predicate"
|
||||||
"github.com/mikestefanello/pagoda/ent/user"
|
"github.com/camzawacki/personal-site/ent/user"
|
||||||
)
|
)
|
||||||
|
|
||||||
// UserQuery is the builder for querying User entities.
|
// UserQuery is the builder for querying User entities.
|
||||||
|
|
|
||||||
|
|
@ -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/mikestefanello/pagoda/ent/passwordtoken"
|
"github.com/camzawacki/personal-site/ent/passwordtoken"
|
||||||
"github.com/mikestefanello/pagoda/ent/predicate"
|
"github.com/camzawacki/personal-site/ent/predicate"
|
||||||
"github.com/mikestefanello/pagoda/ent/user"
|
"github.com/camzawacki/personal-site/ent/user"
|
||||||
)
|
)
|
||||||
|
|
||||||
// UserUpdate is the builder for updating User entities.
|
// UserUpdate is the builder for updating User entities.
|
||||||
|
|
|
||||||
2
go.mod
2
go.mod
|
|
@ -1,4 +1,4 @@
|
||||||
module github.com/mikestefanello/pagoda
|
module github.com/camzawacki/personal-site
|
||||||
|
|
||||||
go 1.24.6
|
go 1.24.6
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ package form
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/labstack/echo/v4"
|
"github.com/labstack/echo/v4"
|
||||||
"github.com/mikestefanello/pagoda/pkg/context"
|
"github.com/camzawacki/personal-site/pkg/context"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Form represents a form that can be submitted and validated.
|
// Form represents a form that can be submitted and validated.
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/labstack/echo/v4"
|
"github.com/labstack/echo/v4"
|
||||||
"github.com/mikestefanello/pagoda/pkg/context"
|
"github.com/camzawacki/personal-site/pkg/context"
|
||||||
"github.com/mikestefanello/pagoda/pkg/tests"
|
"github.com/camzawacki/personal-site/pkg/tests"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/go-playground/validator/v10"
|
"github.com/go-playground/validator/v10"
|
||||||
"github.com/mikestefanello/pagoda/pkg/context"
|
"github.com/camzawacki/personal-site/pkg/context"
|
||||||
|
|
||||||
"github.com/labstack/echo/v4"
|
"github.com/labstack/echo/v4"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -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/mikestefanello/pagoda/pkg/services"
|
"github.com/camzawacki/personal-site/pkg/services"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -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/mikestefanello/pagoda/ent"
|
"github.com/camzawacki/personal-site/ent"
|
||||||
"github.com/mikestefanello/pagoda/ent/admin"
|
"github.com/camzawacki/personal-site/ent/admin"
|
||||||
"github.com/mikestefanello/pagoda/pkg/context"
|
"github.com/camzawacki/personal-site/pkg/context"
|
||||||
"github.com/mikestefanello/pagoda/pkg/middleware"
|
"github.com/camzawacki/personal-site/pkg/middleware"
|
||||||
"github.com/mikestefanello/pagoda/pkg/msg"
|
"github.com/camzawacki/personal-site/pkg/msg"
|
||||||
"github.com/mikestefanello/pagoda/pkg/pager"
|
"github.com/camzawacki/personal-site/pkg/pager"
|
||||||
"github.com/mikestefanello/pagoda/pkg/redirect"
|
"github.com/camzawacki/personal-site/pkg/redirect"
|
||||||
"github.com/mikestefanello/pagoda/pkg/routenames"
|
"github.com/camzawacki/personal-site/pkg/routenames"
|
||||||
"github.com/mikestefanello/pagoda/pkg/services"
|
"github.com/camzawacki/personal-site/pkg/services"
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui/pages"
|
"github.com/camzawacki/personal-site/pkg/ui/pages"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Admin struct {
|
type Admin struct {
|
||||||
|
|
|
||||||
|
|
@ -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/mikestefanello/pagoda/config"
|
"github.com/camzawacki/personal-site/config"
|
||||||
"github.com/mikestefanello/pagoda/ent"
|
"github.com/camzawacki/personal-site/ent"
|
||||||
"github.com/mikestefanello/pagoda/ent/user"
|
"github.com/camzawacki/personal-site/ent/user"
|
||||||
"github.com/mikestefanello/pagoda/pkg/context"
|
"github.com/camzawacki/personal-site/pkg/context"
|
||||||
"github.com/mikestefanello/pagoda/pkg/form"
|
"github.com/camzawacki/personal-site/pkg/form"
|
||||||
"github.com/mikestefanello/pagoda/pkg/log"
|
"github.com/camzawacki/personal-site/pkg/log"
|
||||||
"github.com/mikestefanello/pagoda/pkg/middleware"
|
"github.com/camzawacki/personal-site/pkg/middleware"
|
||||||
"github.com/mikestefanello/pagoda/pkg/msg"
|
"github.com/camzawacki/personal-site/pkg/msg"
|
||||||
"github.com/mikestefanello/pagoda/pkg/redirect"
|
"github.com/camzawacki/personal-site/pkg/redirect"
|
||||||
"github.com/mikestefanello/pagoda/pkg/routenames"
|
"github.com/camzawacki/personal-site/pkg/routenames"
|
||||||
"github.com/mikestefanello/pagoda/pkg/services"
|
"github.com/camzawacki/personal-site/pkg/services"
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui/emails"
|
"github.com/camzawacki/personal-site/pkg/ui/emails"
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui/forms"
|
"github.com/camzawacki/personal-site/pkg/ui/forms"
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui/pages"
|
"github.com/camzawacki/personal-site/pkg/ui/pages"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Auth struct {
|
type Auth struct {
|
||||||
|
|
|
||||||
|
|
@ -5,11 +5,11 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/labstack/echo/v4"
|
"github.com/labstack/echo/v4"
|
||||||
"github.com/mikestefanello/pagoda/pkg/form"
|
"github.com/camzawacki/personal-site/pkg/form"
|
||||||
"github.com/mikestefanello/pagoda/pkg/routenames"
|
"github.com/camzawacki/personal-site/pkg/routenames"
|
||||||
"github.com/mikestefanello/pagoda/pkg/services"
|
"github.com/camzawacki/personal-site/pkg/services"
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui/forms"
|
"github.com/camzawacki/personal-site/pkg/ui/forms"
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui/pages"
|
"github.com/camzawacki/personal-site/pkg/ui/pages"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Cache struct {
|
type Cache struct {
|
||||||
|
|
|
||||||
|
|
@ -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/mikestefanello/pagoda/pkg/form"
|
"github.com/camzawacki/personal-site/pkg/form"
|
||||||
"github.com/mikestefanello/pagoda/pkg/routenames"
|
"github.com/camzawacki/personal-site/pkg/routenames"
|
||||||
"github.com/mikestefanello/pagoda/pkg/services"
|
"github.com/camzawacki/personal-site/pkg/services"
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui/forms"
|
"github.com/camzawacki/personal-site/pkg/ui/forms"
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui/pages"
|
"github.com/camzawacki/personal-site/pkg/ui/pages"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Contact struct {
|
type Contact struct {
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,9 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/labstack/echo/v4"
|
"github.com/labstack/echo/v4"
|
||||||
"github.com/mikestefanello/pagoda/pkg/context"
|
"github.com/camzawacki/personal-site/pkg/context"
|
||||||
"github.com/mikestefanello/pagoda/pkg/log"
|
"github.com/camzawacki/personal-site/pkg/log"
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui/pages"
|
"github.com/camzawacki/personal-site/pkg/ui/pages"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Error struct{}
|
type Error struct{}
|
||||||
|
|
|
||||||
|
|
@ -6,11 +6,11 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/labstack/echo/v4"
|
"github.com/labstack/echo/v4"
|
||||||
"github.com/mikestefanello/pagoda/pkg/msg"
|
"github.com/camzawacki/personal-site/pkg/msg"
|
||||||
"github.com/mikestefanello/pagoda/pkg/routenames"
|
"github.com/camzawacki/personal-site/pkg/routenames"
|
||||||
"github.com/mikestefanello/pagoda/pkg/services"
|
"github.com/camzawacki/personal-site/pkg/services"
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui/models"
|
"github.com/camzawacki/personal-site/pkg/ui/models"
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui/pages"
|
"github.com/camzawacki/personal-site/pkg/ui/pages"
|
||||||
"github.com/spf13/afero"
|
"github.com/spf13/afero"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/labstack/echo/v4"
|
"github.com/labstack/echo/v4"
|
||||||
"github.com/mikestefanello/pagoda/pkg/services"
|
"github.com/camzawacki/personal-site/pkg/services"
|
||||||
)
|
)
|
||||||
|
|
||||||
var handlers []Handler
|
var handlers []Handler
|
||||||
|
|
|
||||||
|
|
@ -4,11 +4,11 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/labstack/echo/v4"
|
"github.com/labstack/echo/v4"
|
||||||
"github.com/mikestefanello/pagoda/pkg/pager"
|
"github.com/camzawacki/personal-site/pkg/pager"
|
||||||
"github.com/mikestefanello/pagoda/pkg/routenames"
|
"github.com/camzawacki/personal-site/pkg/routenames"
|
||||||
"github.com/mikestefanello/pagoda/pkg/services"
|
"github.com/camzawacki/personal-site/pkg/services"
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui/models"
|
"github.com/camzawacki/personal-site/pkg/ui/models"
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui/pages"
|
"github.com/camzawacki/personal-site/pkg/ui/pages"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Pages struct{}
|
type Pages struct{}
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/mikestefanello/pagoda/pkg/routenames"
|
"github.com/camzawacki/personal-site/pkg/routenames"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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/mikestefanello/pagoda/pkg/context"
|
"github.com/camzawacki/personal-site/pkg/context"
|
||||||
"github.com/mikestefanello/pagoda/pkg/middleware"
|
"github.com/camzawacki/personal-site/pkg/middleware"
|
||||||
"github.com/mikestefanello/pagoda/pkg/services"
|
"github.com/camzawacki/personal-site/pkg/services"
|
||||||
files "github.com/mikestefanello/pagoda/public"
|
files "github.com/camzawacki/personal-site/public"
|
||||||
)
|
)
|
||||||
|
|
||||||
// BuildRouter builds the router.
|
// BuildRouter builds the router.
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,8 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/mikestefanello/pagoda/config"
|
"github.com/camzawacki/personal-site/config"
|
||||||
"github.com/mikestefanello/pagoda/pkg/services"
|
"github.com/camzawacki/personal-site/pkg/services"
|
||||||
|
|
||||||
"github.com/PuerkitoBio/goquery"
|
"github.com/PuerkitoBio/goquery"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
|
|
|
||||||
|
|
@ -5,10 +5,10 @@ import (
|
||||||
"math/rand"
|
"math/rand"
|
||||||
|
|
||||||
"github.com/labstack/echo/v4"
|
"github.com/labstack/echo/v4"
|
||||||
"github.com/mikestefanello/pagoda/pkg/routenames"
|
"github.com/camzawacki/personal-site/pkg/routenames"
|
||||||
"github.com/mikestefanello/pagoda/pkg/services"
|
"github.com/camzawacki/personal-site/pkg/services"
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui/models"
|
"github.com/camzawacki/personal-site/pkg/ui/models"
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui/pages"
|
"github.com/camzawacki/personal-site/pkg/ui/pages"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Search struct{}
|
type Search struct{}
|
||||||
|
|
|
||||||
|
|
@ -5,16 +5,16 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/mikestefanello/backlite"
|
"github.com/mikestefanello/backlite"
|
||||||
"github.com/mikestefanello/pagoda/pkg/msg"
|
"github.com/camzawacki/personal-site/pkg/msg"
|
||||||
"github.com/mikestefanello/pagoda/pkg/routenames"
|
"github.com/camzawacki/personal-site/pkg/routenames"
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui/forms"
|
"github.com/camzawacki/personal-site/pkg/ui/forms"
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui/pages"
|
"github.com/camzawacki/personal-site/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/mikestefanello/pagoda/pkg/form"
|
"github.com/camzawacki/personal-site/pkg/form"
|
||||||
"github.com/mikestefanello/pagoda/pkg/services"
|
"github.com/camzawacki/personal-site/pkg/services"
|
||||||
"github.com/mikestefanello/pagoda/pkg/tasks"
|
"github.com/camzawacki/personal-site/pkg/tasks"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Task struct {
|
type Task struct {
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/labstack/echo/v4"
|
"github.com/labstack/echo/v4"
|
||||||
"github.com/mikestefanello/pagoda/pkg/context"
|
"github.com/camzawacki/personal-site/pkg/context"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Request headers: https://htmx.org/docs/#request-headers
|
// Request headers: https://htmx.org/docs/#request-headers
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/mikestefanello/pagoda/pkg/context"
|
"github.com/camzawacki/personal-site/pkg/context"
|
||||||
"github.com/mikestefanello/pagoda/pkg/tests"
|
"github.com/camzawacki/personal-site/pkg/tests"
|
||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"log/slog"
|
"log/slog"
|
||||||
|
|
||||||
"github.com/labstack/echo/v4"
|
"github.com/labstack/echo/v4"
|
||||||
"github.com/mikestefanello/pagoda/pkg/context"
|
"github.com/camzawacki/personal-site/pkg/context"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Set sets a logger in the context.
|
// Set sets a logger in the context.
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/labstack/echo/v4"
|
"github.com/labstack/echo/v4"
|
||||||
"github.com/mikestefanello/pagoda/pkg/tests"
|
"github.com/camzawacki/personal-site/pkg/tests"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,12 +5,12 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"github.com/mikestefanello/pagoda/ent"
|
"github.com/camzawacki/personal-site/ent"
|
||||||
"github.com/mikestefanello/pagoda/pkg/context"
|
"github.com/camzawacki/personal-site/pkg/context"
|
||||||
"github.com/mikestefanello/pagoda/pkg/log"
|
"github.com/camzawacki/personal-site/pkg/log"
|
||||||
"github.com/mikestefanello/pagoda/pkg/msg"
|
"github.com/camzawacki/personal-site/pkg/msg"
|
||||||
"github.com/mikestefanello/pagoda/pkg/routenames"
|
"github.com/camzawacki/personal-site/pkg/routenames"
|
||||||
"github.com/mikestefanello/pagoda/pkg/services"
|
"github.com/camzawacki/personal-site/pkg/services"
|
||||||
|
|
||||||
"github.com/labstack/echo/v4"
|
"github.com/labstack/echo/v4"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -6,9 +6,9 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/mikestefanello/pagoda/ent"
|
"github.com/camzawacki/personal-site/ent"
|
||||||
"github.com/mikestefanello/pagoda/pkg/context"
|
"github.com/camzawacki/personal-site/pkg/context"
|
||||||
"github.com/mikestefanello/pagoda/pkg/tests"
|
"github.com/camzawacki/personal-site/pkg/tests"
|
||||||
|
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/mikestefanello/pagoda/pkg/tests"
|
"github.com/camzawacki/personal-site/pkg/tests"
|
||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@ package middleware
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/labstack/echo/v4"
|
"github.com/labstack/echo/v4"
|
||||||
"github.com/mikestefanello/pagoda/config"
|
"github.com/camzawacki/personal-site/config"
|
||||||
"github.com/mikestefanello/pagoda/pkg/context"
|
"github.com/camzawacki/personal-site/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.
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,9 @@ package middleware
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/mikestefanello/pagoda/config"
|
"github.com/camzawacki/personal-site/config"
|
||||||
"github.com/mikestefanello/pagoda/pkg/context"
|
"github.com/camzawacki/personal-site/pkg/context"
|
||||||
"github.com/mikestefanello/pagoda/pkg/tests"
|
"github.com/camzawacki/personal-site/pkg/tests"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,9 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"github.com/mikestefanello/pagoda/ent"
|
"github.com/camzawacki/personal-site/ent"
|
||||||
"github.com/mikestefanello/pagoda/ent/user"
|
"github.com/camzawacki/personal-site/ent/user"
|
||||||
"github.com/mikestefanello/pagoda/pkg/context"
|
"github.com/camzawacki/personal-site/pkg/context"
|
||||||
|
|
||||||
"github.com/labstack/echo/v4"
|
"github.com/labstack/echo/v4"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,9 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/mikestefanello/pagoda/ent"
|
"github.com/camzawacki/personal-site/ent"
|
||||||
"github.com/mikestefanello/pagoda/pkg/context"
|
"github.com/camzawacki/personal-site/pkg/context"
|
||||||
"github.com/mikestefanello/pagoda/pkg/tests"
|
"github.com/camzawacki/personal-site/pkg/tests"
|
||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/labstack/echo/v4"
|
"github.com/labstack/echo/v4"
|
||||||
"github.com/mikestefanello/pagoda/pkg/log"
|
"github.com/camzawacki/personal-site/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.
|
||||||
|
|
|
||||||
|
|
@ -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/mikestefanello/pagoda/pkg/log"
|
"github.com/camzawacki/personal-site/pkg/log"
|
||||||
"github.com/mikestefanello/pagoda/pkg/tests"
|
"github.com/camzawacki/personal-site/pkg/tests"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
|
|
|
||||||
|
|
@ -4,10 +4,10 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/mikestefanello/pagoda/config"
|
"github.com/camzawacki/personal-site/config"
|
||||||
"github.com/mikestefanello/pagoda/ent"
|
"github.com/camzawacki/personal-site/ent"
|
||||||
"github.com/mikestefanello/pagoda/pkg/services"
|
"github.com/camzawacki/personal-site/pkg/services"
|
||||||
"github.com/mikestefanello/pagoda/pkg/tests"
|
"github.com/camzawacki/personal-site/pkg/tests"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
||||||
|
|
@ -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/mikestefanello/pagoda/pkg/session"
|
"github.com/camzawacki/personal-site/pkg/session"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Session sets the session storage in the request context
|
// Session sets the session storage in the request context
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/gorilla/sessions"
|
"github.com/gorilla/sessions"
|
||||||
"github.com/mikestefanello/pagoda/pkg/session"
|
"github.com/camzawacki/personal-site/pkg/session"
|
||||||
"github.com/mikestefanello/pagoda/pkg/tests"
|
"github.com/camzawacki/personal-site/pkg/tests"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -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/mikestefanello/pagoda/pkg/log"
|
"github.com/camzawacki/personal-site/pkg/log"
|
||||||
"github.com/mikestefanello/pagoda/pkg/session"
|
"github.com/camzawacki/personal-site/pkg/session"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Type is a message type.
|
// Type is a message type.
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ package msg
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/mikestefanello/pagoda/pkg/tests"
|
"github.com/camzawacki/personal-site/pkg/tests"
|
||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/labstack/echo/v4"
|
"github.com/labstack/echo/v4"
|
||||||
"github.com/mikestefanello/pagoda/pkg/tests"
|
"github.com/camzawacki/personal-site/pkg/tests"
|
||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ import (
|
||||||
"net/url"
|
"net/url"
|
||||||
|
|
||||||
"github.com/labstack/echo/v4"
|
"github.com/labstack/echo/v4"
|
||||||
"github.com/mikestefanello/pagoda/pkg/htmx"
|
"github.com/camzawacki/personal-site/pkg/htmx"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Redirect is a helper to perform HTTP redirects.
|
// Redirect is a helper to perform HTTP redirects.
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,8 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/labstack/echo/v4"
|
"github.com/labstack/echo/v4"
|
||||||
"github.com/mikestefanello/pagoda/pkg/htmx"
|
"github.com/camzawacki/personal-site/pkg/htmx"
|
||||||
"github.com/mikestefanello/pagoda/pkg/tests"
|
"github.com/camzawacki/personal-site/pkg/tests"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -8,12 +8,12 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/golang-jwt/jwt/v5"
|
"github.com/golang-jwt/jwt/v5"
|
||||||
"github.com/mikestefanello/pagoda/config"
|
"github.com/camzawacki/personal-site/config"
|
||||||
"github.com/mikestefanello/pagoda/ent"
|
"github.com/camzawacki/personal-site/ent"
|
||||||
"github.com/mikestefanello/pagoda/ent/passwordtoken"
|
"github.com/camzawacki/personal-site/ent/passwordtoken"
|
||||||
"github.com/mikestefanello/pagoda/ent/user"
|
"github.com/camzawacki/personal-site/ent/user"
|
||||||
"github.com/mikestefanello/pagoda/pkg/context"
|
"github.com/camzawacki/personal-site/pkg/context"
|
||||||
"github.com/mikestefanello/pagoda/pkg/session"
|
"github.com/camzawacki/personal-site/pkg/session"
|
||||||
|
|
||||||
"github.com/labstack/echo/v4"
|
"github.com/labstack/echo/v4"
|
||||||
"golang.org/x/crypto/bcrypt"
|
"golang.org/x/crypto/bcrypt"
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,8 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/mikestefanello/pagoda/ent/passwordtoken"
|
"github.com/camzawacki/personal-site/ent/passwordtoken"
|
||||||
"github.com/mikestefanello/pagoda/ent/user"
|
"github.com/camzawacki/personal-site/ent/user"
|
||||||
"golang.org/x/crypto/bcrypt"
|
"golang.org/x/crypto/bcrypt"
|
||||||
|
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
|
||||||
|
|
@ -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/mikestefanello/pagoda/config"
|
"github.com/camzawacki/personal-site/config"
|
||||||
"github.com/mikestefanello/pagoda/ent"
|
"github.com/camzawacki/personal-site/ent"
|
||||||
"github.com/mikestefanello/pagoda/pkg/log"
|
"github.com/camzawacki/personal-site/pkg/log"
|
||||||
"github.com/spf13/afero"
|
"github.com/spf13/afero"
|
||||||
|
|
||||||
// Required by ent.
|
// Required by ent.
|
||||||
_ "github.com/mikestefanello/pagoda/ent/runtime"
|
_ "github.com/camzawacki/personal-site/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
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"errors"
|
"errors"
|
||||||
|
|
||||||
"github.com/mikestefanello/pagoda/config"
|
"github.com/camzawacki/personal-site/config"
|
||||||
"github.com/mikestefanello/pagoda/pkg/log"
|
"github.com/camzawacki/personal-site/pkg/log"
|
||||||
"maragu.dev/gomponents"
|
"maragu.dev/gomponents"
|
||||||
|
|
||||||
"github.com/labstack/echo/v4"
|
"github.com/labstack/echo/v4"
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,9 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/mikestefanello/pagoda/config"
|
"github.com/camzawacki/personal-site/config"
|
||||||
"github.com/mikestefanello/pagoda/ent"
|
"github.com/camzawacki/personal-site/ent"
|
||||||
"github.com/mikestefanello/pagoda/pkg/tests"
|
"github.com/camzawacki/personal-site/pkg/tests"
|
||||||
|
|
||||||
"github.com/labstack/echo/v4"
|
"github.com/labstack/echo/v4"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -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/mikestefanello/pagoda/pkg/context"
|
"github.com/camzawacki/personal-site/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
|
||||||
|
|
|
||||||
|
|
@ -5,10 +5,10 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/mikestefanello/backlite"
|
"github.com/mikestefanello/backlite"
|
||||||
"github.com/mikestefanello/pagoda/pkg/routenames"
|
"github.com/camzawacki/personal-site/pkg/routenames"
|
||||||
|
|
||||||
"github.com/mikestefanello/pagoda/pkg/log"
|
"github.com/camzawacki/personal-site/pkg/log"
|
||||||
"github.com/mikestefanello/pagoda/pkg/services"
|
"github.com/camzawacki/personal-site/pkg/services"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ExampleTask is an example implementation of backlite.Task.
|
// ExampleTask is an example implementation of backlite.Task.
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
package tasks
|
package tasks
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/mikestefanello/pagoda/pkg/services"
|
"github.com/camzawacki/personal-site/pkg/services"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Register registers all task queues with the task client.
|
// Register registers all task queues with the task client.
|
||||||
|
|
|
||||||
|
|
@ -10,8 +10,8 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/mikestefanello/pagoda/ent"
|
"github.com/camzawacki/personal-site/ent"
|
||||||
"github.com/mikestefanello/pagoda/pkg/session"
|
"github.com/camzawacki/personal-site/pkg/session"
|
||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
|
||||||
2
pkg/ui/cache/cache.go
vendored
2
pkg/ui/cache/cache.go
vendored
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/mikestefanello/pagoda/pkg/log"
|
"github.com/camzawacki/personal-site/pkg/log"
|
||||||
"maragu.dev/gomponents"
|
"maragu.dev/gomponents"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
package components
|
package components
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/mikestefanello/pagoda/pkg/msg"
|
"github.com/camzawacki/personal-site/pkg/msg"
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui"
|
"github.com/camzawacki/personal-site/pkg/ui"
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui/icons"
|
"github.com/camzawacki/personal-site/pkg/ui/icons"
|
||||||
. "maragu.dev/gomponents"
|
. "maragu.dev/gomponents"
|
||||||
. "maragu.dev/gomponents/html"
|
. "maragu.dev/gomponents/html"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
package components
|
package components
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/mikestefanello/pagoda/pkg/form"
|
"github.com/camzawacki/personal-site/pkg/form"
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui"
|
"github.com/camzawacki/personal-site/pkg/ui"
|
||||||
. "maragu.dev/gomponents"
|
. "maragu.dev/gomponents"
|
||||||
. "maragu.dev/gomponents/html"
|
. "maragu.dev/gomponents/html"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ package components
|
||||||
import (
|
import (
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui"
|
"github.com/camzawacki/personal-site/pkg/ui"
|
||||||
. "maragu.dev/gomponents"
|
. "maragu.dev/gomponents"
|
||||||
. "maragu.dev/gomponents/html"
|
. "maragu.dev/gomponents/html"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ package components
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui"
|
"github.com/camzawacki/personal-site/pkg/ui"
|
||||||
. "maragu.dev/gomponents"
|
. "maragu.dev/gomponents"
|
||||||
. "maragu.dev/gomponents/html"
|
. "maragu.dev/gomponents/html"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@ package components
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/mikestefanello/pagoda/pkg/pager"
|
"github.com/camzawacki/personal-site/pkg/pager"
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui"
|
"github.com/camzawacki/personal-site/pkg/ui"
|
||||||
. "maragu.dev/gomponents"
|
. "maragu.dev/gomponents"
|
||||||
. "maragu.dev/gomponents/components"
|
. "maragu.dev/gomponents/components"
|
||||||
. "maragu.dev/gomponents/html"
|
. "maragu.dev/gomponents/html"
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@ package emails
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/labstack/echo/v4"
|
"github.com/labstack/echo/v4"
|
||||||
"github.com/mikestefanello/pagoda/pkg/routenames"
|
"github.com/camzawacki/personal-site/pkg/routenames"
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui"
|
"github.com/camzawacki/personal-site/pkg/ui"
|
||||||
. "maragu.dev/gomponents"
|
. "maragu.dev/gomponents"
|
||||||
. "maragu.dev/gomponents/html"
|
. "maragu.dev/gomponents/html"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -5,10 +5,10 @@ import (
|
||||||
"net/url"
|
"net/url"
|
||||||
|
|
||||||
"entgo.io/ent/schema/field"
|
"entgo.io/ent/schema/field"
|
||||||
"github.com/mikestefanello/pagoda/ent/admin"
|
"github.com/camzawacki/personal-site/ent/admin"
|
||||||
"github.com/mikestefanello/pagoda/pkg/routenames"
|
"github.com/camzawacki/personal-site/pkg/routenames"
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui"
|
"github.com/camzawacki/personal-site/pkg/ui"
|
||||||
. "github.com/mikestefanello/pagoda/pkg/ui/components"
|
. "github.com/camzawacki/personal-site/pkg/ui/components"
|
||||||
. "maragu.dev/gomponents"
|
. "maragu.dev/gomponents"
|
||||||
. "maragu.dev/gomponents/html"
|
. "maragu.dev/gomponents/html"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -3,10 +3,10 @@ package forms
|
||||||
import (
|
import (
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/mikestefanello/pagoda/ent/admin"
|
"github.com/camzawacki/personal-site/ent/admin"
|
||||||
"github.com/mikestefanello/pagoda/pkg/routenames"
|
"github.com/camzawacki/personal-site/pkg/routenames"
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui"
|
"github.com/camzawacki/personal-site/pkg/ui"
|
||||||
. "github.com/mikestefanello/pagoda/pkg/ui/components"
|
. "github.com/camzawacki/personal-site/pkg/ui/components"
|
||||||
. "maragu.dev/gomponents"
|
. "maragu.dev/gomponents"
|
||||||
. "maragu.dev/gomponents/html"
|
. "maragu.dev/gomponents/html"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -3,10 +3,10 @@ package forms
|
||||||
import (
|
import (
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/mikestefanello/pagoda/pkg/form"
|
"github.com/camzawacki/personal-site/pkg/form"
|
||||||
"github.com/mikestefanello/pagoda/pkg/routenames"
|
"github.com/camzawacki/personal-site/pkg/routenames"
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui"
|
"github.com/camzawacki/personal-site/pkg/ui"
|
||||||
. "github.com/mikestefanello/pagoda/pkg/ui/components"
|
. "github.com/camzawacki/personal-site/pkg/ui/components"
|
||||||
. "maragu.dev/gomponents"
|
. "maragu.dev/gomponents"
|
||||||
. "maragu.dev/gomponents/html"
|
. "maragu.dev/gomponents/html"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -3,10 +3,10 @@ package forms
|
||||||
import (
|
import (
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/mikestefanello/pagoda/pkg/form"
|
"github.com/camzawacki/personal-site/pkg/form"
|
||||||
"github.com/mikestefanello/pagoda/pkg/routenames"
|
"github.com/camzawacki/personal-site/pkg/routenames"
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui"
|
"github.com/camzawacki/personal-site/pkg/ui"
|
||||||
. "github.com/mikestefanello/pagoda/pkg/ui/components"
|
. "github.com/camzawacki/personal-site/pkg/ui/components"
|
||||||
. "maragu.dev/gomponents"
|
. "maragu.dev/gomponents"
|
||||||
. "maragu.dev/gomponents/html"
|
. "maragu.dev/gomponents/html"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,9 @@ package forms
|
||||||
import (
|
import (
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/mikestefanello/pagoda/pkg/routenames"
|
"github.com/camzawacki/personal-site/pkg/routenames"
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui"
|
"github.com/camzawacki/personal-site/pkg/ui"
|
||||||
. "github.com/mikestefanello/pagoda/pkg/ui/components"
|
. "github.com/camzawacki/personal-site/pkg/ui/components"
|
||||||
. "maragu.dev/gomponents"
|
. "maragu.dev/gomponents"
|
||||||
. "maragu.dev/gomponents/html"
|
. "maragu.dev/gomponents/html"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -3,10 +3,10 @@ package forms
|
||||||
import (
|
import (
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/mikestefanello/pagoda/pkg/form"
|
"github.com/camzawacki/personal-site/pkg/form"
|
||||||
"github.com/mikestefanello/pagoda/pkg/routenames"
|
"github.com/camzawacki/personal-site/pkg/routenames"
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui"
|
"github.com/camzawacki/personal-site/pkg/ui"
|
||||||
. "github.com/mikestefanello/pagoda/pkg/ui/components"
|
. "github.com/camzawacki/personal-site/pkg/ui/components"
|
||||||
. "maragu.dev/gomponents"
|
. "maragu.dev/gomponents"
|
||||||
. "maragu.dev/gomponents/html"
|
. "maragu.dev/gomponents/html"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -3,10 +3,10 @@ package forms
|
||||||
import (
|
import (
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/mikestefanello/pagoda/pkg/form"
|
"github.com/camzawacki/personal-site/pkg/form"
|
||||||
"github.com/mikestefanello/pagoda/pkg/routenames"
|
"github.com/camzawacki/personal-site/pkg/routenames"
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui"
|
"github.com/camzawacki/personal-site/pkg/ui"
|
||||||
. "github.com/mikestefanello/pagoda/pkg/ui/components"
|
. "github.com/camzawacki/personal-site/pkg/ui/components"
|
||||||
. "maragu.dev/gomponents"
|
. "maragu.dev/gomponents"
|
||||||
. "maragu.dev/gomponents/html"
|
. "maragu.dev/gomponents/html"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -3,10 +3,10 @@ package forms
|
||||||
import (
|
import (
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/mikestefanello/pagoda/pkg/form"
|
"github.com/camzawacki/personal-site/pkg/form"
|
||||||
"github.com/mikestefanello/pagoda/pkg/routenames"
|
"github.com/camzawacki/personal-site/pkg/routenames"
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui"
|
"github.com/camzawacki/personal-site/pkg/ui"
|
||||||
. "github.com/mikestefanello/pagoda/pkg/ui/components"
|
. "github.com/camzawacki/personal-site/pkg/ui/components"
|
||||||
. "maragu.dev/gomponents"
|
. "maragu.dev/gomponents"
|
||||||
. "maragu.dev/gomponents/html"
|
. "maragu.dev/gomponents/html"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,9 @@ package forms
|
||||||
import (
|
import (
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/mikestefanello/pagoda/pkg/form"
|
"github.com/camzawacki/personal-site/pkg/form"
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui"
|
"github.com/camzawacki/personal-site/pkg/ui"
|
||||||
. "github.com/mikestefanello/pagoda/pkg/ui/components"
|
. "github.com/camzawacki/personal-site/pkg/ui/components"
|
||||||
. "maragu.dev/gomponents"
|
. "maragu.dev/gomponents"
|
||||||
. "maragu.dev/gomponents/html"
|
. "maragu.dev/gomponents/html"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -4,10 +4,10 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/mikestefanello/pagoda/pkg/form"
|
"github.com/camzawacki/personal-site/pkg/form"
|
||||||
"github.com/mikestefanello/pagoda/pkg/routenames"
|
"github.com/camzawacki/personal-site/pkg/routenames"
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui"
|
"github.com/camzawacki/personal-site/pkg/ui"
|
||||||
. "github.com/mikestefanello/pagoda/pkg/ui/components"
|
. "github.com/camzawacki/personal-site/pkg/ui/components"
|
||||||
. "maragu.dev/gomponents"
|
. "maragu.dev/gomponents"
|
||||||
. "maragu.dev/gomponents/html"
|
. "maragu.dev/gomponents/html"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ package icons
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui/cache"
|
"github.com/camzawacki/personal-site/pkg/ui/cache"
|
||||||
. "maragu.dev/gomponents"
|
. "maragu.dev/gomponents"
|
||||||
. "maragu.dev/gomponents/html"
|
. "maragu.dev/gomponents/html"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
package layouts
|
package layouts
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui"
|
"github.com/camzawacki/personal-site/pkg/ui"
|
||||||
. "github.com/mikestefanello/pagoda/pkg/ui/components"
|
. "github.com/camzawacki/personal-site/pkg/ui/components"
|
||||||
. "maragu.dev/gomponents"
|
. "maragu.dev/gomponents"
|
||||||
. "maragu.dev/gomponents/html"
|
. "maragu.dev/gomponents/html"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
package layouts
|
package layouts
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/mikestefanello/pagoda/ent/admin"
|
"github.com/camzawacki/personal-site/ent/admin"
|
||||||
"github.com/mikestefanello/pagoda/pkg/routenames"
|
"github.com/camzawacki/personal-site/pkg/routenames"
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui"
|
"github.com/camzawacki/personal-site/pkg/ui"
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui/cache"
|
"github.com/camzawacki/personal-site/pkg/ui/cache"
|
||||||
. "github.com/mikestefanello/pagoda/pkg/ui/components"
|
. "github.com/camzawacki/personal-site/pkg/ui/components"
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui/icons"
|
"github.com/camzawacki/personal-site/pkg/ui/icons"
|
||||||
. "maragu.dev/gomponents"
|
. "maragu.dev/gomponents"
|
||||||
. "maragu.dev/gomponents/html"
|
. "maragu.dev/gomponents/html"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,9 @@ package models
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/mikestefanello/pagoda/pkg/pager"
|
"github.com/camzawacki/personal-site/pkg/pager"
|
||||||
"github.com/mikestefanello/pagoda/pkg/ui"
|
"github.com/camzawacki/personal-site/pkg/ui"
|
||||||
. "github.com/mikestefanello/pagoda/pkg/ui/components"
|
. "github.com/camzawacki/personal-site/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
Loading…
Add table
Add a link
Reference in a new issue