Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

comment out replace statement in go.mod file. #69

Merged
merged 2 commits into from
Oct 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions cmd/qor5/website-template/admin/config.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package admin

import (
"github.com/qor5/admin/seo"
"net/http"

"github.com/qor/oss/filesystem"
Expand Down Expand Up @@ -90,14 +91,16 @@ func newPB() Config {
l10nBuilder := l10n.New()

pageBuilder := example.ConfigPageBuilder(db, "/admin/page_builder", ``, b.I18n())
pm := pageBuilder.Configure(b, db, l10nBuilder, ab)
storage := filesystem.New(PublishDir)
publisher := publish.New(db, storage).WithPageBuilder(pageBuilder)

seoCollection := seo.NewCollection()
pm := pageBuilder.Configure(b, db, l10nBuilder, ab, publisher, seoCollection)
tm := pageBuilder.ConfigTemplate(b, db)
cm := pageBuilder.ConfigCategory(b, db)
cm := pageBuilder.ConfigCategory(b, db, l10nBuilder)

ab.RegisterModels(pm, tm, cm)

storage := filesystem.New(PublishDir)
publisher := publish.New(db, storage).WithPageBuilder(pageBuilder)
publish_view.Configure(b, db, ab, publisher, pm)

l10nBuilder.
Expand Down
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ require (
)

require (
cloud.google.com/go v0.67.0 // indirectj
cloud.google.com/go v0.67.0 // indirect
github.com/NYTimes/gziphandler v1.1.1 // indirect
github.com/aymerick/douceur v0.2.0 // indirect
github.com/boombuler/barcode v1.0.1 // indirect
Expand Down Expand Up @@ -91,8 +91,8 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect
)

replace github.com/qor5/web => ../web
//replace github.com/qor5/web => ../web

replace github.com/qor5/ui => ../ui
//replace github.com/qor5/ui => ../ui

//replace github.com/qor5/admin => ../admin
4 changes: 4 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,10 @@ github.com/qor/oss v0.0.0-20230717083721-c04686f83630 h1:CRi4xF7B8aGX/y48NCjarNd
github.com/qor/oss v0.0.0-20230717083721-c04686f83630/go.mod h1:FDxJAVwmZ1j8ITcKJExFlzkTYuUor1dBKZgNVWqEqlM=
github.com/qor5/admin v0.0.0-20231009020927-485bb3c7c83b h1:zOGIeZCo1kV2UVojeJxfHF7g6nxOeKhe8ZQj+284ohg=
github.com/qor5/admin v0.0.0-20231009020927-485bb3c7c83b/go.mod h1:OukkFSjsJaN0FKHBCsZOy/5Mzo/eR8sJJbm8w85Vf4g=
github.com/qor5/ui v1.0.1-0.20230913083355-743825ff29b1 h1:6ZIyg13zG0ki2yE2XcFN20RkwCMUjIJkYHCGIIqrq5c=
github.com/qor5/ui v1.0.1-0.20230913083355-743825ff29b1/go.mod h1:bgBqjIytHRdfTsiZea8df/ltAcyQyuHiLbecgo8Iwgw=
github.com/qor5/web v1.3.0 h1:nz/MP1TJ/ffGA6FgWXJ1ljPZDfd3RQSTHz/4ZrzKqX0=
github.com/qor5/web v1.3.0/go.mod h1:4VXydGmy5Uwz8rEeKjcmCetciJo8TpU0mnN7Ca5kMR0=
github.com/qor5/x v1.2.1-0.20230907054212-50b1a850acf6 h1:GyPeYULwjUPGR6fT/lZicJ8dkoKL5cu/hRNefxX+V7g=
github.com/qor5/x v1.2.1-0.20230907054212-50b1a850acf6/go.mod h1:Zfy7B3X5DnQSud0HTV4h/ih5TTQgaT2NWwuSIRGLdcM=
github.com/robfig/cron/v3 v3.0.1/go.mod h1:eQICP3HwyT7UooqI/z+Ov+PtYAWygg1TEWWzGIFLtro=
Expand Down