Skip to content
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
10 changes: 10 additions & 0 deletions src/app/pkg/gofr/datasource/cloudsql/layout.jsx
Original file line number Diff line number Diff line change
@@ -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
}
11 changes: 11 additions & 0 deletions src/app/pkg/gofr/datasource/cloudsql/page.jsx
Original file line number Diff line number Diff line change
@@ -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 <PkgRedirect name="gofr/datasource/cloudsql" docsPath="/docs/datasources/cloudsql" />
}
10 changes: 10 additions & 0 deletions src/app/pkg/gofr/datasource/influxdb/layout.jsx
Original file line number Diff line number Diff line change
@@ -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
}
11 changes: 11 additions & 0 deletions src/app/pkg/gofr/datasource/influxdb/page.jsx
Original file line number Diff line number Diff line change
@@ -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 <PkgRedirect name="gofr/datasource/influxdb" docsPath="/docs/datasources/influxdb" />
}
10 changes: 10 additions & 0 deletions src/app/pkg/gofr/datasource/kv-store/dynamodb/layout.jsx
Original file line number Diff line number Diff line change
@@ -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
}
11 changes: 11 additions & 0 deletions src/app/pkg/gofr/datasource/kv-store/dynamodb/page.jsx
Original file line number Diff line number Diff line change
@@ -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 <PkgRedirect name="gofr/datasource/kv-store/dynamodb" docsPath="/docs/datasources/getting-started" />
}
5 changes: 5 additions & 0 deletions src/lib/navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Loading