update go module prefix
This commit is contained in:
parent
7e288ea67a
commit
557dd4cb0c
59 changed files with 128 additions and 128 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"componentsDir": "internal/ui/components",
|
"componentsDir": "internal/ui/components",
|
||||||
"utilsDir": "internal/utils",
|
"utilsDir": "internal/utils",
|
||||||
"moduleName": "git.juancwu.dev/juancwu/budgething",
|
"moduleName": "git.juancwu.dev/juancwu/budgit",
|
||||||
"jsDir": "assets/js",
|
"jsDir": "assets/js",
|
||||||
"jsPublicPath": "/assets/js"
|
"jsPublicPath": "/assets/js"
|
||||||
}
|
}
|
||||||
|
|
@ -5,9 +5,9 @@ import (
|
||||||
"log/slog"
|
"log/slog"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/app"
|
"git.juancwu.dev/juancwu/budgit/internal/app"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/config"
|
"git.juancwu.dev/juancwu/budgit/internal/config"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/routes"
|
"git.juancwu.dev/juancwu/budgit/internal/routes"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
|
||||||
2
go.mod
2
go.mod
|
|
@ -1,4 +1,4 @@
|
||||||
module git.juancwu.dev/juancwu/budgething
|
module git.juancwu.dev/juancwu/budgit
|
||||||
|
|
||||||
go 1.25.1
|
go 1.25.1
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,10 +3,10 @@ package app
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/config"
|
"git.juancwu.dev/juancwu/budgit/internal/config"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/db"
|
"git.juancwu.dev/juancwu/budgit/internal/db"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/repository"
|
"git.juancwu.dev/juancwu/budgit/internal/repository"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/service"
|
"git.juancwu.dev/juancwu/budgit/internal/service"
|
||||||
"github.com/jmoiron/sqlx"
|
"github.com/jmoiron/sqlx"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@ package ctxkeys
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/config"
|
"git.juancwu.dev/juancwu/budgit/internal/config"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/model"
|
"git.juancwu.dev/juancwu/budgit/internal/model"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ package middleware
|
||||||
import (
|
import (
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ctxkeys"
|
"git.juancwu.dev/juancwu/budgit/internal/ctxkeys"
|
||||||
)
|
)
|
||||||
|
|
||||||
// RequireGuest ensures request is not authenticated
|
// RequireGuest ensures request is not authenticated
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@ package middleware
|
||||||
import (
|
import (
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/config"
|
"git.juancwu.dev/juancwu/budgit/internal/config"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ctxkeys"
|
"git.juancwu.dev/juancwu/budgit/internal/ctxkeys"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Config middleware adds the sanitized app configuration to the request context.
|
// Config middleware adds the sanitized app configuration to the request context.
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ctxkeys"
|
"git.juancwu.dev/juancwu/budgit/internal/ctxkeys"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ package middleware
|
||||||
import (
|
import (
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ctxkeys"
|
"git.juancwu.dev/juancwu/budgit/internal/ctxkeys"
|
||||||
)
|
)
|
||||||
|
|
||||||
// WithURLPath adds the current URL's path to the context
|
// WithURLPath adds the current URL's path to the context
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ import (
|
||||||
"errors"
|
"errors"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/model"
|
"git.juancwu.dev/juancwu/budgit/internal/model"
|
||||||
"github.com/jmoiron/sqlx"
|
"github.com/jmoiron/sqlx"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,10 +4,10 @@ import (
|
||||||
"io/fs"
|
"io/fs"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"git.juancwu.dev/juancwu/budgething/assets"
|
"git.juancwu.dev/juancwu/budgit/assets"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/app"
|
"git.juancwu.dev/juancwu/budgit/internal/app"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/handler"
|
"git.juancwu.dev/juancwu/budgit/internal/handler"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/middleware"
|
"git.juancwu.dev/juancwu/budgit/internal/middleware"
|
||||||
)
|
)
|
||||||
|
|
||||||
func SetupRoutes(a *app.App) http.Handler {
|
func SetupRoutes(a *app.App) http.Handler {
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,9 @@ import (
|
||||||
"errors"
|
"errors"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/exception"
|
"git.juancwu.dev/juancwu/budgit/internal/exception"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/model"
|
"git.juancwu.dev/juancwu/budgit/internal/model"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/repository"
|
"git.juancwu.dev/juancwu/budgit/internal/repository"
|
||||||
"github.com/alexedwards/argon2id"
|
"github.com/alexedwards/argon2id"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
package service
|
package service
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/model"
|
"git.juancwu.dev/juancwu/budgit/internal/model"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/repository"
|
"git.juancwu.dev/juancwu/budgit/internal/repository"
|
||||||
)
|
)
|
||||||
|
|
||||||
type UserService struct {
|
type UserService struct {
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
package blocks
|
package blocks
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/button"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/button"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/icon"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ThemeSwitcherProps struct {
|
type ThemeSwitcherProps struct {
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@
|
||||||
package accordion
|
package accordion
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/icon"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Props struct {
|
type Props struct {
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// 📚 Documentation: https://templui.io/docs/components/alert
|
// 📚 Documentation: https://templui.io/docs/components/alert
|
||||||
package alert
|
package alert
|
||||||
|
|
||||||
import "git.juancwu.dev/juancwu/budgething/internal/utils"
|
import "git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
|
|
||||||
type Variant string
|
type Variant string
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// 📚 Documentation: https://templui.io/docs/components/aspect-ratio
|
// 📚 Documentation: https://templui.io/docs/components/aspect-ratio
|
||||||
package aspectratio
|
package aspectratio
|
||||||
|
|
||||||
import "git.juancwu.dev/juancwu/budgething/internal/utils"
|
import "git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
|
|
||||||
type Ratio string
|
type Ratio string
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// 📚 Documentation: https://templui.io/docs/components/avatar
|
// 📚 Documentation: https://templui.io/docs/components/avatar
|
||||||
package avatar
|
package avatar
|
||||||
|
|
||||||
import "git.juancwu.dev/juancwu/budgething/internal/utils"
|
import "git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
|
|
||||||
type Props struct {
|
type Props struct {
|
||||||
ID string
|
ID string
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// 📚 Documentation: https://templui.io/docs/components/badge
|
// 📚 Documentation: https://templui.io/docs/components/badge
|
||||||
package badge
|
package badge
|
||||||
|
|
||||||
import "git.juancwu.dev/juancwu/budgething/internal/utils"
|
import "git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
|
|
||||||
type Variant string
|
type Variant string
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@
|
||||||
package breadcrumb
|
package breadcrumb
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/icon"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Props struct {
|
type Props struct {
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
package button
|
package button
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@
|
||||||
package calendar
|
package calendar
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/icon"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
"strconv"
|
"strconv"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// 📚 Documentation: https://templui.io/docs/components/card
|
// 📚 Documentation: https://templui.io/docs/components/card
|
||||||
package card
|
package card
|
||||||
|
|
||||||
import "git.juancwu.dev/juancwu/budgething/internal/utils"
|
import "git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
|
|
||||||
type Props struct {
|
type Props struct {
|
||||||
ID string
|
ID string
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,8 @@ package carousel
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/icon"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// 📚 Documentation: https://templui.io/docs/components/charts
|
// 📚 Documentation: https://templui.io/docs/components/charts
|
||||||
package chart
|
package chart
|
||||||
|
|
||||||
import "git.juancwu.dev/juancwu/budgething/internal/utils"
|
import "git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
|
|
||||||
type Variant string
|
type Variant string
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@
|
||||||
package checkbox
|
package checkbox
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/icon"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Props struct {
|
type Props struct {
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// 📚 Documentation: https://templui.io/docs/components/code
|
// 📚 Documentation: https://templui.io/docs/components/code
|
||||||
package code
|
package code
|
||||||
|
|
||||||
import "git.juancwu.dev/juancwu/budgething/internal/utils"
|
import "git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
|
|
||||||
type Props struct {
|
type Props struct {
|
||||||
ID string
|
ID string
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// 📚 Documentation: https://templui.io/docs/components/collapsible
|
// 📚 Documentation: https://templui.io/docs/components/collapsible
|
||||||
package collapsible
|
package collapsible
|
||||||
|
|
||||||
import "git.juancwu.dev/juancwu/budgething/internal/utils"
|
import "git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
|
|
||||||
type Props struct {
|
type Props struct {
|
||||||
ID string
|
ID string
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,9 @@
|
||||||
package copybutton
|
package copybutton
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/button"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/button"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/icon"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Props struct {
|
type Props struct {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
package csrf
|
package csrf
|
||||||
|
|
||||||
import "git.juancwu.dev/juancwu/budgething/internal/ctxkeys"
|
import "git.juancwu.dev/juancwu/budgit/internal/ctxkeys"
|
||||||
|
|
||||||
// Token renders a hidden CSRF token input for form submissions.
|
// Token renders a hidden CSRF token input for form submissions.
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -3,12 +3,12 @@
|
||||||
package datepicker
|
package datepicker
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/button"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/button"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/calendar"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/calendar"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/card"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/card"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/icon"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/popover"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/popover"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,8 @@ package dialog
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/icon"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
type contextKey string
|
type contextKey string
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,8 @@ package dropdown
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/popover"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/popover"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Placement = popover.Placement
|
type Placement = popover.Placement
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@
|
||||||
package form
|
package form
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/label"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/label"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
type MessageVariant string
|
type MessageVariant string
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,9 @@
|
||||||
package input
|
package input
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/button"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/button"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/icon"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Type string
|
type Type string
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
package inputotp
|
package inputotp
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// 📚 Documentation: https://templui.io/docs/components/label
|
// 📚 Documentation: https://templui.io/docs/components/label
|
||||||
package label
|
package label
|
||||||
|
|
||||||
import "git.juancwu.dev/juancwu/budgething/internal/utils"
|
import "git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
|
|
||||||
type Props struct {
|
type Props struct {
|
||||||
ID string
|
ID string
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,9 @@
|
||||||
package pagination
|
package pagination
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/button"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/button"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/icon"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Props struct {
|
type Props struct {
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
package popover
|
package popover
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ package progress
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Size string
|
type Size string
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// 📚 Documentation: https://templui.io/docs/components/radio
|
// 📚 Documentation: https://templui.io/docs/components/radio
|
||||||
package radio
|
package radio
|
||||||
|
|
||||||
import "git.juancwu.dev/juancwu/budgething/internal/utils"
|
import "git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
|
|
||||||
type Props struct {
|
type Props struct {
|
||||||
ID string
|
ID string
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,8 @@ package rating
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/icon"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,11 +5,11 @@ package selectbox
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/button"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/button"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/icon"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/input"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/input"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/popover"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/popover"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// 📚 Documentation: https://templui.io/docs/components/separator
|
// 📚 Documentation: https://templui.io/docs/components/separator
|
||||||
package separator
|
package separator
|
||||||
|
|
||||||
import "git.juancwu.dev/juancwu/budgething/internal/utils"
|
import "git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
|
|
||||||
type Orientation string
|
type Orientation string
|
||||||
type Decoration string
|
type Decoration string
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,8 @@ package sheet
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/dialog"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/dialog"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
type contextKey string
|
type contextKey string
|
||||||
|
|
|
||||||
|
|
@ -3,11 +3,11 @@
|
||||||
package sidebar
|
package sidebar
|
||||||
|
|
||||||
import "context"
|
import "context"
|
||||||
import "git.juancwu.dev/juancwu/budgething/internal/utils"
|
import "git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
import "git.juancwu.dev/juancwu/budgething/internal/ui/components/icon"
|
import "git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
||||||
import "git.juancwu.dev/juancwu/budgething/internal/ui/components/button"
|
import "git.juancwu.dev/juancwu/budgit/internal/ui/components/button"
|
||||||
import "git.juancwu.dev/juancwu/budgething/internal/ui/components/sheet"
|
import "git.juancwu.dev/juancwu/budgit/internal/ui/components/sheet"
|
||||||
import "git.juancwu.dev/juancwu/budgething/internal/ui/components/tooltip"
|
import "git.juancwu.dev/juancwu/budgit/internal/ui/components/tooltip"
|
||||||
|
|
||||||
type contextKey string
|
type contextKey string
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// 📚 Documentation: https://templui.io/docs/components/skeleton
|
// 📚 Documentation: https://templui.io/docs/components/skeleton
|
||||||
package skeleton
|
package skeleton
|
||||||
|
|
||||||
import "git.juancwu.dev/juancwu/budgething/internal/utils"
|
import "git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
|
|
||||||
type Props struct {
|
type Props struct {
|
||||||
ID string
|
ID string
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ package slider
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Props struct {
|
type Props struct {
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// 📚 Documentation: https://templui.io/docs/components/switch
|
// 📚 Documentation: https://templui.io/docs/components/switch
|
||||||
package switchcomp
|
package switchcomp
|
||||||
|
|
||||||
import "git.juancwu.dev/juancwu/budgething/internal/utils"
|
import "git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
|
|
||||||
type Props struct {
|
type Props struct {
|
||||||
ID string
|
ID string
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// 📚 Documentation: https://templui.io/docs/components/table
|
// 📚 Documentation: https://templui.io/docs/components/table
|
||||||
package table
|
package table
|
||||||
|
|
||||||
import "git.juancwu.dev/juancwu/budgething/internal/utils"
|
import "git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
|
|
||||||
type Props struct {
|
type Props struct {
|
||||||
ID string
|
ID string
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ package tabs
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Props struct {
|
type Props struct {
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,9 @@
|
||||||
package tagsinput
|
package tagsinput
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/badge"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/badge"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/input"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/input"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Props struct {
|
type Props struct {
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
package textarea
|
package textarea
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,11 +4,11 @@ package timepicker
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/button"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/button"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/card"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/card"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/icon"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/popover"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/popover"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
"strconv"
|
"strconv"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,9 @@
|
||||||
package toast
|
package toast
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/button"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/button"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/icon"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@
|
||||||
package tooltip
|
package tooltip
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/popover"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/popover"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/utils"
|
"git.juancwu.dev/juancwu/budgit/internal/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Position string
|
type Position string
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
package layouts
|
package layouts
|
||||||
|
|
||||||
import "git.juancwu.dev/juancwu/budgething/internal/ui/blocks"
|
import "git.juancwu.dev/juancwu/budgit/internal/ui/blocks"
|
||||||
|
|
||||||
templ Auth(seo SEOProps) {
|
templ Auth(seo SEOProps) {
|
||||||
@Base(seo) {
|
@Base(seo) {
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,16 @@
|
||||||
package layouts
|
package layouts
|
||||||
|
|
||||||
import "git.juancwu.dev/juancwu/budgething/internal/ui/components/input"
|
import "git.juancwu.dev/juancwu/budgit/internal/ui/components/input"
|
||||||
import "git.juancwu.dev/juancwu/budgething/internal/ui/components/dialog"
|
import "git.juancwu.dev/juancwu/budgit/internal/ui/components/dialog"
|
||||||
import "git.juancwu.dev/juancwu/budgething/internal/ui/components/sidebar"
|
import "git.juancwu.dev/juancwu/budgit/internal/ui/components/sidebar"
|
||||||
import "git.juancwu.dev/juancwu/budgething/internal/ui/components/collapsible"
|
import "git.juancwu.dev/juancwu/budgit/internal/ui/components/collapsible"
|
||||||
import "git.juancwu.dev/juancwu/budgething/internal/ctxkeys"
|
import "git.juancwu.dev/juancwu/budgit/internal/ctxkeys"
|
||||||
import "git.juancwu.dev/juancwu/budgething/internal/ui/components/dropdown"
|
import "git.juancwu.dev/juancwu/budgit/internal/ui/components/dropdown"
|
||||||
import "git.juancwu.dev/juancwu/budgething/internal/ui/components/popover"
|
import "git.juancwu.dev/juancwu/budgit/internal/ui/components/popover"
|
||||||
import "git.juancwu.dev/juancwu/budgething/internal/ui/components/toast"
|
import "git.juancwu.dev/juancwu/budgit/internal/ui/components/toast"
|
||||||
import "git.juancwu.dev/juancwu/budgething/internal/ui/components/calendar"
|
import "git.juancwu.dev/juancwu/budgit/internal/ui/components/calendar"
|
||||||
import "git.juancwu.dev/juancwu/budgething/internal/ui/components/datepicker"
|
import "git.juancwu.dev/juancwu/budgit/internal/ui/components/datepicker"
|
||||||
import "git.juancwu.dev/juancwu/budgething/internal/ui/components/progress"
|
import "git.juancwu.dev/juancwu/budgit/internal/ui/components/progress"
|
||||||
import "fmt"
|
import "fmt"
|
||||||
import "time"
|
import "time"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,14 @@
|
||||||
package pages
|
package pages
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ctxkeys"
|
"git.juancwu.dev/juancwu/budgit/internal/ctxkeys"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/button"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/button"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/csrf"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/csrf"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/form"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/form"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/icon"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/icon"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/input"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/input"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/components/label"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/components/label"
|
||||||
"git.juancwu.dev/juancwu/budgething/internal/ui/layouts"
|
"git.juancwu.dev/juancwu/budgit/internal/ui/layouts"
|
||||||
)
|
)
|
||||||
|
|
||||||
templ Auth(errorMsg string) {
|
templ Auth(errorMsg string) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue