Skip to content

Commit

Permalink
Merge pull request #23 from axzilla/dev
Browse files Browse the repository at this point in the history
refactor: rename 'internals' to 'internal' across the codebase
  • Loading branch information
axzilla authored Dec 22, 2024
2 parents 62407c5 + 9740092 commit 0c88af2
Show file tree
Hide file tree
Showing 137 changed files with 92 additions and 92 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# exlude generated files but not for the pkg folder
internals/**/*_templ.go
internals/**/*_templ.txt
internal/**/*_templ.go
internal/**/*_templ.txt

# exclude .txt files because they are not needed as a go package but the .go files are
pkg/**/*_templ.txt
Expand Down
6 changes: 3 additions & 3 deletions cmd/server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (

"github.com/a-h/templ"
"github.com/axzilla/templui/assets"
"github.com/axzilla/templui/internals/config"
"github.com/axzilla/templui/internals/middleware"
"github.com/axzilla/templui/internals/ui/pages"
"github.com/axzilla/templui/internal/config"
"github.com/axzilla/templui/internal/middleware"
"github.com/axzilla/templui/internal/ui/pages"
"github.com/axzilla/templui/pkg/components"
mw "github.com/axzilla/templui/pkg/middleware"
)
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net/http"
"strings"

"github.com/axzilla/templui/internals/config"
"github.com/axzilla/templui/internal/config"
)

func WithPreviewCheck(next http.Handler) http.Handler {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package layouts

import (
"github.com/axzilla/templui/internals/config"
"github.com/axzilla/templui/internals/ui/modules"
"github.com/axzilla/templui/internal/config"
"github.com/axzilla/templui/internal/ui/modules"
"github.com/axzilla/templui/pkg/helpers"
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package layouts

import "github.com/axzilla/templui/internals/ui/modules"
import "github.com/axzilla/templui/internal/ui/modules"

templ DocsLayout() {
@BaseLayout() {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package modules

import (
"github.com/axzilla/templui/internals/ui/showcase"
"github.com/axzilla/templui/internal/ui/showcase"
"github.com/axzilla/templui/pkg/components"
)

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package modules

import (
"github.com/axzilla/templui/internals/shared"
wrappedicons "github.com/axzilla/templui/internals/ui/icons"
"github.com/axzilla/templui/internal/shared"
wrappedicons "github.com/axzilla/templui/internal/ui/icons"
"github.com/axzilla/templui/pkg/components"
"github.com/axzilla/templui/pkg/icons"
)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package modules

import (
wrappedicons "github.com/axzilla/templui/internals/ui/icons"
wrappedicons "github.com/axzilla/templui/internal/ui/icons"
"github.com/axzilla/templui/pkg/components"
)

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package modules

import "github.com/axzilla/templui/internals/shared"
import "github.com/axzilla/templui/internal/shared"

templ Sidebar() {
<aside class="h-full">
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
package pages

import (
"github.com/axzilla/templui/internals/ui/layouts"
"github.com/axzilla/templui/internals/ui/modules"
"github.com/axzilla/templui/internals/ui/showcase"
"github.com/axzilla/templui/internal/ui/layouts"
"github.com/axzilla/templui/internal/ui/modules"
"github.com/axzilla/templui/internal/ui/showcase"
)

templ Accordion() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package pages

import (
"github.com/axzilla/templui/internals/ui/layouts"
"github.com/axzilla/templui/internals/ui/modules"
"github.com/axzilla/templui/internals/ui/showcase"
"github.com/axzilla/templui/internal/ui/layouts"
"github.com/axzilla/templui/internal/ui/modules"
"github.com/axzilla/templui/internal/ui/showcase"
)

templ Alert() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package pages

import (
"github.com/axzilla/templui/internals/ui/layouts"
"github.com/axzilla/templui/internals/ui/modules"
"github.com/axzilla/templui/internals/ui/showcase"
"github.com/axzilla/templui/internal/ui/layouts"
"github.com/axzilla/templui/internal/ui/modules"
"github.com/axzilla/templui/internal/ui/showcase"
)

templ Avatar() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package pages

import (
"github.com/axzilla/templui/internals/ui/layouts"
"github.com/axzilla/templui/internals/ui/modules"
"github.com/axzilla/templui/internals/ui/showcase"
"github.com/axzilla/templui/internal/ui/layouts"
"github.com/axzilla/templui/internal/ui/modules"
"github.com/axzilla/templui/internal/ui/showcase"
)

templ Badge() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package pages

import (
"github.com/axzilla/templui/internals/ui/layouts"
"github.com/axzilla/templui/internals/ui/modules"
"github.com/axzilla/templui/internals/ui/showcase"
"github.com/axzilla/templui/internal/ui/layouts"
"github.com/axzilla/templui/internal/ui/modules"
"github.com/axzilla/templui/internal/ui/showcase"
)

templ Button() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package pages

import (
"github.com/axzilla/templui/internals/ui/layouts"
"github.com/axzilla/templui/internals/ui/modules"
"github.com/axzilla/templui/internals/ui/showcase"
"github.com/axzilla/templui/internal/ui/layouts"
"github.com/axzilla/templui/internal/ui/modules"
"github.com/axzilla/templui/internal/ui/showcase"
)

templ Card() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package pages

import (
"github.com/axzilla/templui/internals/ui/layouts"
"github.com/axzilla/templui/internals/ui/modules"
"github.com/axzilla/templui/internals/ui/showcase"
"github.com/axzilla/templui/internal/ui/layouts"
"github.com/axzilla/templui/internal/ui/modules"
"github.com/axzilla/templui/internal/ui/showcase"
)

templ Checkbox() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package pages

import (
"github.com/axzilla/templui/internals/ui/layouts"
"github.com/axzilla/templui/internals/ui/modules"
"github.com/axzilla/templui/internals/ui/showcase"
"github.com/axzilla/templui/internal/ui/layouts"
"github.com/axzilla/templui/internal/ui/modules"
"github.com/axzilla/templui/internal/ui/showcase"
)

templ Datepicker() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package pages

import (
"github.com/axzilla/templui/internals/ui/layouts"
"github.com/axzilla/templui/internals/ui/modules"
"github.com/axzilla/templui/internals/ui/showcase"
"github.com/axzilla/templui/internal/ui/layouts"
"github.com/axzilla/templui/internal/ui/modules"
"github.com/axzilla/templui/internal/ui/showcase"
)

templ DropdownMenu() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package pages

import (
"github.com/axzilla/templui/internals/ui/layouts"
"github.com/axzilla/templui/internals/ui/modules"
"github.com/axzilla/templui/internals/ui/showcase"
"github.com/axzilla/templui/internal/ui/layouts"
"github.com/axzilla/templui/internal/ui/modules"
"github.com/axzilla/templui/internal/ui/showcase"
"github.com/axzilla/templui/pkg/components"
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package pages

import (
"github.com/axzilla/templui/internals/ui/layouts"
"github.com/axzilla/templui/internals/ui/modules"
"github.com/axzilla/templui/internal/ui/layouts"
"github.com/axzilla/templui/internal/ui/modules"
)

var installGo = `go version`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package pages

import (
"fmt"
"github.com/axzilla/templui/internals/ui/layouts"
"github.com/axzilla/templui/internals/ui/modules"
"github.com/axzilla/templui/internals/ui/showcase"
"github.com/axzilla/templui/internal/ui/layouts"
"github.com/axzilla/templui/internal/ui/modules"
"github.com/axzilla/templui/internal/ui/showcase"
)

templ Icon() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package pages

import (
"github.com/axzilla/templui/internals/ui/layouts"
"github.com/axzilla/templui/internals/ui/modules"
"github.com/axzilla/templui/internals/ui/showcase"
"github.com/axzilla/templui/internal/ui/layouts"
"github.com/axzilla/templui/internal/ui/modules"
"github.com/axzilla/templui/internal/ui/showcase"
)

templ Input() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package pages

import "github.com/axzilla/templui/internals/ui/layouts"
import "github.com/axzilla/templui/internal/ui/layouts"

templ Introduction() {
@layouts.DocsLayout() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package pages

import (
"github.com/axzilla/templui/internals/ui/layouts"
"github.com/axzilla/templui/internals/ui/modules"
"github.com/axzilla/templui/internals/ui/showcase"
"github.com/axzilla/templui/internal/ui/layouts"
"github.com/axzilla/templui/internal/ui/modules"
"github.com/axzilla/templui/internal/ui/showcase"
"github.com/axzilla/templui/pkg/components"
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package pages

import (
wrappedicons "github.com/axzilla/templui/internals/ui/icons"
"github.com/axzilla/templui/internals/ui/layouts"
"github.com/axzilla/templui/internals/ui/modules"
wrappedicons "github.com/axzilla/templui/internal/ui/icons"
"github.com/axzilla/templui/internal/ui/layouts"
"github.com/axzilla/templui/internal/ui/modules"
"github.com/axzilla/templui/pkg/components"
"github.com/axzilla/templui/pkg/icons"
)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package pages

import (
"github.com/axzilla/templui/internals/ui/layouts"
"github.com/axzilla/templui/internals/ui/modules"
"github.com/axzilla/templui/internals/ui/showcase"
"github.com/axzilla/templui/internal/ui/layouts"
"github.com/axzilla/templui/internal/ui/modules"
"github.com/axzilla/templui/internal/ui/showcase"
)

templ Modal() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package pages

import (
"github.com/axzilla/templui/internals/ui/layouts"
"github.com/axzilla/templui/internals/ui/modules"
"github.com/axzilla/templui/internals/ui/showcase"
"github.com/axzilla/templui/internal/ui/layouts"
"github.com/axzilla/templui/internal/ui/modules"
"github.com/axzilla/templui/internal/ui/showcase"
)

templ Radio() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package pages

import (
"github.com/axzilla/templui/internals/ui/layouts"
"github.com/axzilla/templui/internals/ui/modules"
"github.com/axzilla/templui/internals/ui/showcase"
"github.com/axzilla/templui/internal/ui/layouts"
"github.com/axzilla/templui/internal/ui/modules"
"github.com/axzilla/templui/internal/ui/showcase"
)

templ Select() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package pages

import (
"github.com/axzilla/templui/internals/ui/layouts"
"github.com/axzilla/templui/internals/ui/modules"
"github.com/axzilla/templui/internals/ui/showcase"
"github.com/axzilla/templui/internal/ui/layouts"
"github.com/axzilla/templui/internal/ui/modules"
"github.com/axzilla/templui/internal/ui/showcase"
)

templ Sheet() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package pages

import (
"github.com/axzilla/templui/internals/ui/layouts"
"github.com/axzilla/templui/internals/ui/modules"
"github.com/axzilla/templui/internals/ui/showcase"
"github.com/axzilla/templui/internal/ui/layouts"
"github.com/axzilla/templui/internal/ui/modules"
"github.com/axzilla/templui/internal/ui/showcase"
)

templ Slider() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package pages

import (
"github.com/axzilla/templui/internals/ui/layouts"
"github.com/axzilla/templui/internals/ui/modules"
"github.com/axzilla/templui/internals/ui/showcase"
"github.com/axzilla/templui/internal/ui/layouts"
"github.com/axzilla/templui/internal/ui/modules"
"github.com/axzilla/templui/internal/ui/showcase"
)

templ Tabs() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package pages

import (
"github.com/axzilla/templui/internals/ui/layouts"
"github.com/axzilla/templui/internals/ui/modules"
"github.com/axzilla/templui/internals/ui/showcase"
"github.com/axzilla/templui/internal/ui/layouts"
"github.com/axzilla/templui/internal/ui/modules"
"github.com/axzilla/templui/internal/ui/showcase"
)

templ Textarea() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package pages

import (
"github.com/axzilla/templui/internals/ui/layouts"
"github.com/axzilla/templui/internals/ui/modules"
"github.com/axzilla/templui/internal/ui/layouts"
"github.com/axzilla/templui/internal/ui/modules"
"github.com/axzilla/templui/pkg/components"
"github.com/axzilla/templui/pkg/icons"
)
Expand Down
Loading

0 comments on commit 0c88af2

Please sign in to comment.