summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-11-29 10:50:32 +0100
committerxengineering <me@xengineering.eu>2024-11-29 10:50:32 +0100
commit0478c7ff651f25759dc240736ad5af048bd3106a (patch)
treefdbca9f95f664ce4e71a412c036349df89df9d83
parent943ee02f862c9b7b5b84abba3c993d70998515f6 (diff)
downloadwebsite-0478c7ff651f25759dc240736ad5af048bd3106a.tar
website-0478c7ff651f25759dc240736ad5af048bd3106a.tar.zst
website-0478c7ff651f25759dc240736ad5af048bd3106a.zip
Add Go source links to all published Go modules
This allows to jump from API doc to source files via links on https://pkg.go.dev.
-rw-r--r--content/ceres1
-rw-r--r--content/optional-go1
-rw-r--r--content/soundbox1
-rw-r--r--content/soundbox-app1
-rw-r--r--content/soundbox-go1
5 files changed, 5 insertions, 0 deletions
diff --git a/content/ceres b/content/ceres
index ab0f073..3099c6f 100644
--- a/content/ceres
+++ b/content/ceres
@@ -1,6 +1,7 @@
<html>
<head>
<meta name="go-import" content="xengineering.eu/ceres git https://cgit.xengineering.eu/ceres">
+ <meta name="go-source" content="xengineering.eu/ceres https://cgit.xengineering.eu/ceres https://cgit.xengineering.eu/ceres/tree{/dir} https://cgit.xengineering.eu/ceres/tree/{file}#n{line}">
</head>
<body>
</body>
diff --git a/content/optional-go b/content/optional-go
index 597b428..7d9316c 100644
--- a/content/optional-go
+++ b/content/optional-go
@@ -1,6 +1,7 @@
<html>
<head>
<meta name="go-import" content="xengineering.eu/optional-go git https://cgit.xengineering.eu/optional-go">
+ <meta name="go-source" content="xengineering.eu/optional-go https://cgit.xengineering.eu/optional-go https://cgit.xengineering.eu/optional-go/tree{/dir} https://cgit.xengineering.eu/optional-go/tree/{file}#n{line}">
</head>
<body>
</body>
diff --git a/content/soundbox b/content/soundbox
index e702145..e39dda6 100644
--- a/content/soundbox
+++ b/content/soundbox
@@ -1,6 +1,7 @@
<html>
<head>
<meta name="go-import" content="xengineering.eu/soundbox git https://cgit.xengineering.eu/soundbox-go">
+ <meta name="go-source" content="xengineering.eu/soundbox https://cgit.xengineering.eu/soundbox https://cgit.xengineering.eu/soundbox/tree{/dir} https://cgit.xengineering.eu/soundbox/tree/{file}#n{line}">
</head>
<body>
</body>
diff --git a/content/soundbox-app b/content/soundbox-app
index df28ed1..cd9d2e8 100644
--- a/content/soundbox-app
+++ b/content/soundbox-app
@@ -1,6 +1,7 @@
<html>
<head>
<meta name="go-import" content="xengineering.eu/soundbox-app git https://cgit.xengineering.eu/soundbox-app">
+ <meta name="go-source" content="xengineering.eu/soundbox-app https://cgit.xengineering.eu/soundbox-app https://cgit.xengineering.eu/soundbox-app/tree{/dir} https://cgit.xengineering.eu/soundbox-app/tree/{file}#n{line}">
</head>
<body>
</body>
diff --git a/content/soundbox-go b/content/soundbox-go
index 893acef..5129ce9 100644
--- a/content/soundbox-go
+++ b/content/soundbox-go
@@ -1,6 +1,7 @@
<html>
<head>
<meta name="go-import" content="xengineering.eu/soundbox-go git https://cgit.xengineering.eu/soundbox-go">
+ <meta name="go-source" content="xengineering.eu/soundbox-go https://cgit.xengineering.eu/soundbox-go https://cgit.xengineering.eu/soundbox-go/tree{/dir} https://cgit.xengineering.eu/soundbox-go/tree/{file}#n{line}">
</head>
<body>
</body>