go: add remote import paths for subpackages (#1241)

Currently, website is stored in S3 as static content, and this should be generated
by the server when we change the website deployment
This commit is contained in:
Ariel Mashraki
2021-02-05 14:09:50 +02:00
committed by GitHub
parent 96ebbcd627
commit 528db137de
5 changed files with 36 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="go-import" content="entgo.io/ent git https://github.com/facebook/ent">
<meta name="go-source" content="entgo.io/ent https://github.com/facebook/ent https://github.com/facebook/ent/tree/master{/dir} https://github.com/facebook/ent/blob/master{/dir}/{file}#L{line}">
<meta http-equiv="refresh" content="0; url=https://pkg.go.dev/entgo.io/ent/cmd/ent">
</head>
<body>
Nothing to see here; <a href="https://pkg.go.dev/entgo.io/ent/cmd/ent">move along</a>.
</body>
</html>

View File

@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="go-import" content="entgo.io/ent git https://github.com/facebook/ent">
<meta name="go-source" content="entgo.io/ent https://github.com/facebook/ent https://github.com/facebook/ent/tree/master{/dir} https://github.com/facebook/ent/blob/master{/dir}/{file}#L{line}">
<meta http-equiv="refresh" content="0; url=https://pkg.go.dev/entgo.io/ent/entc/gen">
</head>
<body>
Nothing to see here; <a href="https://pkg.go.dev/entgo.io/ent/entc/gen">move along</a>.
</body>
</html>

View File

@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="go-import" content="entgo.io/ent git https://github.com/facebook/ent">
<meta name="go-source" content="entgo.io/ent https://github.com/facebook/ent https://github.com/facebook/ent/tree/master{/dir} https://github.com/facebook/ent/blob/master{/dir}/{file}#L{line}">
<meta http-equiv="refresh" content="0; url=https://pkg.go.dev/entgo.io/ent/entc">
</head>
<body>
Nothing to see here; <a href="https://pkg.go.dev/entgo.io/ent/entc">move along</a>.
</body>
</html>