high-falutin' grammar
This commit is contained in:
parent
8b4653769c
commit
08d297a15d
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ published_on: '2025-02-13'
|
||||||
|
|
||||||
Go modules are great. URL-based imports, generally, are great. One of the things that makes them so great is that putting them on your own domain provides a good way of verifying ownership without going through a third party or a complicated review process. Plus, it looks cool.
|
Go modules are great. URL-based imports, generally, are great. One of the things that makes them so great is that putting them on your own domain provides a good way of verifying ownership without going through a third party or a complicated review process. Plus, it looks cool.
|
||||||
|
|
||||||
So, how exactly do you do such a thing? Well, it's [buried in the documentation](https://pkg.go.dev/cmd/go#hdr-Remote_import_paths), but it's really pretty simple. For each import path (e.g. `mysite.com/mypackage`), just put a page on your website with a `go-import` meta tag:
|
So, how exactly does one accomplish such a thing? Well, it's [buried in the documentation](https://pkg.go.dev/cmd/go#hdr-Remote_import_paths), but it's really pretty simple. For each import path (e.g. `mysite.com/mypackage`), just put a page on your website with a `go-import` meta tag:
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<meta name="go-import" content="mysite.com/mypackage git https://ultragreatgithost.com/me/mypackage">
|
<meta name="go-import" content="mysite.com/mypackage git https://ultragreatgithost.com/me/mypackage">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue