diff --git a/src/app/pkg/gofr/datasource/cloudsql/layout.jsx b/src/app/pkg/gofr/datasource/cloudsql/layout.jsx new file mode 100644 index 0000000..e8e8598 --- /dev/null +++ b/src/app/pkg/gofr/datasource/cloudsql/layout.jsx @@ -0,0 +1,10 @@ +export const metadata = { + other: { + 'go-import': 'gofr.dev git https://github.com/gofr-dev/gofr', + 'go-source': 'gofr.dev https://github.com/gofr-dev/gofr https://github.com/gofr-dev/gofr/tree/main{/dir} https://github.com/gofr-dev/gofr/blob/main{/dir}/{file}#L{line}' + }, +} + +export default function RootLayout({ children }) { + return children +} diff --git a/src/app/pkg/gofr/datasource/cloudsql/page.jsx b/src/app/pkg/gofr/datasource/cloudsql/page.jsx new file mode 100644 index 0000000..ac9e617 --- /dev/null +++ b/src/app/pkg/gofr/datasource/cloudsql/page.jsx @@ -0,0 +1,11 @@ +import { PkgRedirect } from '@/components/PkgRedirect' + + +export const metadata = { + title: 'gofr/datasource/cloudsql — GoFr Go Package', + description: 'Go module path for gofr/datasource/cloudsql. This redirect-only page sends visitors to the GoFr documentation for setup, configuration, and usage examples.', +} + +export default function Page() { + return +} diff --git a/src/app/pkg/gofr/datasource/influxdb/layout.jsx b/src/app/pkg/gofr/datasource/influxdb/layout.jsx new file mode 100644 index 0000000..e8e8598 --- /dev/null +++ b/src/app/pkg/gofr/datasource/influxdb/layout.jsx @@ -0,0 +1,10 @@ +export const metadata = { + other: { + 'go-import': 'gofr.dev git https://github.com/gofr-dev/gofr', + 'go-source': 'gofr.dev https://github.com/gofr-dev/gofr https://github.com/gofr-dev/gofr/tree/main{/dir} https://github.com/gofr-dev/gofr/blob/main{/dir}/{file}#L{line}' + }, +} + +export default function RootLayout({ children }) { + return children +} diff --git a/src/app/pkg/gofr/datasource/influxdb/page.jsx b/src/app/pkg/gofr/datasource/influxdb/page.jsx new file mode 100644 index 0000000..7768a14 --- /dev/null +++ b/src/app/pkg/gofr/datasource/influxdb/page.jsx @@ -0,0 +1,11 @@ +import { PkgRedirect } from '@/components/PkgRedirect' + + +export const metadata = { + title: 'gofr/datasource/influxdb — GoFr Go Package', + description: 'Go module path for gofr/datasource/influxdb. This redirect-only page sends visitors to the GoFr documentation for setup, configuration, and usage examples.', +} + +export default function Page() { + return +} diff --git a/src/app/pkg/gofr/datasource/kv-store/dynamodb/layout.jsx b/src/app/pkg/gofr/datasource/kv-store/dynamodb/layout.jsx new file mode 100644 index 0000000..e8e8598 --- /dev/null +++ b/src/app/pkg/gofr/datasource/kv-store/dynamodb/layout.jsx @@ -0,0 +1,10 @@ +export const metadata = { + other: { + 'go-import': 'gofr.dev git https://github.com/gofr-dev/gofr', + 'go-source': 'gofr.dev https://github.com/gofr-dev/gofr https://github.com/gofr-dev/gofr/tree/main{/dir} https://github.com/gofr-dev/gofr/blob/main{/dir}/{file}#L{line}' + }, +} + +export default function RootLayout({ children }) { + return children +} diff --git a/src/app/pkg/gofr/datasource/kv-store/dynamodb/page.jsx b/src/app/pkg/gofr/datasource/kv-store/dynamodb/page.jsx new file mode 100644 index 0000000..b9da170 --- /dev/null +++ b/src/app/pkg/gofr/datasource/kv-store/dynamodb/page.jsx @@ -0,0 +1,11 @@ +import { PkgRedirect } from '@/components/PkgRedirect' + + +export const metadata = { + title: 'gofr/datasource/kv-store/dynamodb — GoFr Go Package', + description: 'Go module path for gofr/datasource/kv-store/dynamodb. Redirects to the GoFr documentation for setup, configuration, and usage examples.', +} + +export default function Page() { + return +} diff --git a/src/lib/navigation.js b/src/lib/navigation.js index f46b104..6cfbeba 100644 --- a/src/lib/navigation.js +++ b/src/lib/navigation.js @@ -295,6 +295,11 @@ export const navigation = [ href: "/docs/datasources/clickhouse", desc: "Learn how to connect to and interact with clickhouse database in GoFr." }, + { + title: "Cloud SQL", + href: "/docs/datasources/cloudsql", + desc: "Learn how to connect to and interact with Google Cloud SQL in GoFr using IAM authentication." + }, { title: "CockroachDB", href: "/docs/datasources/cockroachdb",