From 8219521396885b65b43b0b26c7aefced5eaa032d Mon Sep 17 00:00:00 2001 From: Sajay Antony <1821104+sajayantony@users.noreply.github.com> Date: Thu, 17 Mar 2022 02:03:11 -0700 Subject: [PATCH] Fix godoc output and add package overviews (#116) Signed-off-by: Sajay Antony Signed-off-by: Billy Zha --- content/graph.go | 1 + content/memory/memory.go | 2 ++ content/memory/memory_test.go | 1 + content/oci/oci.go | 3 +++ content/oci/oci_test.go | 1 + content/oci/storage.go | 1 + content/oci/storage_test.go | 1 + content/resolver.go | 2 ++ content/storage.go | 1 + copy.go | 1 + copy_test.go | 1 + errdef/errors.go | 1 + examples/advanced/advanced.go | 1 + examples/advanced/file_windows.go | 1 + internal/cas/memory.go | 1 + internal/cas/memory_test.go | 1 + internal/cas/proxy.go | 1 + internal/cas/proxy_test.go | 1 + internal/descriptor/descriptor.go | 1 + internal/docker/mediatype.go | 1 + internal/graph/handler.go | 1 + internal/graph/memory.go | 1 + internal/httputil/seek.go | 1 + internal/httputil/seek_test.go | 1 + internal/ioutil/io.go | 1 + internal/ioutil/io_test.go | 1 + internal/resolver/memory.go | 1 + internal/resolver/memory_test.go | 1 + internal/status/tracker.go | 1 + internal/status/tracker_test.go | 1 + internal/syncutil/once.go | 1 + internal/syncutil/once_test.go | 1 + pack.go | 1 + pack_test.go | 1 + pkg/content/manifest.go | 1 + pkg/content/oci.go | 1 + pkg/content/readerat.go | 1 + pkg/content/registry.go | 1 + pkg/oras/copy.go | 1 + pkg/oras/opts.go | 1 + pkg/oras/provider.go | 1 + pkg/target/target.go | 1 + registry/reference.go | 1 + registry/reference_test.go | 1 + registry/registry.go | 1 + registry/remote/auth/cache.go | 1 + registry/remote/auth/cache_test.go | 1 + registry/remote/auth/challenge.go | 1 + registry/remote/auth/challenge_test.go | 1 + registry/remote/auth/client.go | 2 ++ registry/remote/auth/client_test.go | 1 + registry/remote/auth/credential.go | 1 + registry/remote/auth/scope.go | 1 + registry/remote/auth/scope_test.go | 1 + registry/remote/internal/errutil/errors.go | 1 + registry/remote/internal/errutil/errors_test.go | 1 + registry/remote/manifest.go | 1 + registry/remote/registry.go | 1 + registry/remote/registry_test.go | 1 + registry/remote/repository.go | 1 + registry/remote/repository_test.go | 1 + registry/remote/url.go | 1 + registry/remote/utils.go | 1 + registry/remote/utils_test.go | 1 + registry/repository.go | 1 + target.go | 1 + 66 files changed, 71 insertions(+) diff --git a/content/graph.go b/content/graph.go index 6c64a5cf..68fc68ec 100644 --- a/content/graph.go +++ b/content/graph.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package content import ( diff --git a/content/memory/memory.go b/content/memory/memory.go index 36b85a16..d834244d 100644 --- a/content/memory/memory.go +++ b/content/memory/memory.go @@ -12,6 +12,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + +// Package memory provides implementation of a memory backed content store. package memory import ( diff --git a/content/memory/memory_test.go b/content/memory/memory_test.go index 9b607b7e..bd1b4e14 100644 --- a/content/memory/memory_test.go +++ b/content/memory/memory_test.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package memory import ( diff --git a/content/oci/oci.go b/content/oci/oci.go index 1d726bc8..24fac872 100644 --- a/content/oci/oci.go +++ b/content/oci/oci.go @@ -12,6 +12,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + +// Package oci provides access to an OCI content store. +// Reference: https://github.com/opencontainers/image-spec/blob/main/image-layout.md package oci import ( diff --git a/content/oci/oci_test.go b/content/oci/oci_test.go index 08d0d02d..8c11370f 100644 --- a/content/oci/oci_test.go +++ b/content/oci/oci_test.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package oci import ( diff --git a/content/oci/storage.go b/content/oci/storage.go index bfdb2f09..b4067f02 100644 --- a/content/oci/storage.go +++ b/content/oci/storage.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package oci import ( diff --git a/content/oci/storage_test.go b/content/oci/storage_test.go index cb0e98bf..28025617 100644 --- a/content/oci/storage_test.go +++ b/content/oci/storage_test.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package oci import ( diff --git a/content/resolver.go b/content/resolver.go index f963492f..13cb0600 100644 --- a/content/resolver.go +++ b/content/resolver.go @@ -12,6 +12,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + +// Package content provides implementations to access content stores. package content import ( diff --git a/content/storage.go b/content/storage.go index 5d6e25c3..88abe639 100644 --- a/content/storage.go +++ b/content/storage.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package content import ( diff --git a/copy.go b/copy.go index 841a5f09..e8813ac8 100644 --- a/copy.go +++ b/copy.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package oras import ( diff --git a/copy_test.go b/copy_test.go index c6ddbd5c..a4da31c7 100644 --- a/copy_test.go +++ b/copy_test.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package oras_test import ( diff --git a/errdef/errors.go b/errdef/errors.go index 854adc74..4ec83d99 100644 --- a/errdef/errors.go +++ b/errdef/errors.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package errdef import "errors" diff --git a/examples/advanced/advanced.go b/examples/advanced/advanced.go index a3bed4b4..2de319df 100644 --- a/examples/advanced/advanced.go +++ b/examples/advanced/advanced.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package main import ( diff --git a/examples/advanced/file_windows.go b/examples/advanced/file_windows.go index fd880a5b..afaa8252 100644 --- a/examples/advanced/file_windows.go +++ b/examples/advanced/file_windows.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package main import ( diff --git a/internal/cas/memory.go b/internal/cas/memory.go index 2e69db2c..7bd694e9 100644 --- a/internal/cas/memory.go +++ b/internal/cas/memory.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package cas import ( diff --git a/internal/cas/memory_test.go b/internal/cas/memory_test.go index 6e5581c4..aaacf984 100644 --- a/internal/cas/memory_test.go +++ b/internal/cas/memory_test.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package cas import ( diff --git a/internal/cas/proxy.go b/internal/cas/proxy.go index 3aafe8e3..0daf2437 100644 --- a/internal/cas/proxy.go +++ b/internal/cas/proxy.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package cas import ( diff --git a/internal/cas/proxy_test.go b/internal/cas/proxy_test.go index fa0a7bdf..f0391138 100644 --- a/internal/cas/proxy_test.go +++ b/internal/cas/proxy_test.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package cas import ( diff --git a/internal/descriptor/descriptor.go b/internal/descriptor/descriptor.go index 85325085..8e8b63ff 100644 --- a/internal/descriptor/descriptor.go +++ b/internal/descriptor/descriptor.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package descriptor import ( diff --git a/internal/docker/mediatype.go b/internal/docker/mediatype.go index 6042ee86..1cd0439a 100644 --- a/internal/docker/mediatype.go +++ b/internal/docker/mediatype.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package docker // docker media types diff --git a/internal/graph/handler.go b/internal/graph/handler.go index bf37f996..04b312b7 100644 --- a/internal/graph/handler.go +++ b/internal/graph/handler.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package graph import ( diff --git a/internal/graph/memory.go b/internal/graph/memory.go index f90825ab..eec2c506 100644 --- a/internal/graph/memory.go +++ b/internal/graph/memory.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package graph import ( diff --git a/internal/httputil/seek.go b/internal/httputil/seek.go index 9c7dff92..3fa14e2d 100644 --- a/internal/httputil/seek.go +++ b/internal/httputil/seek.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package httputil import ( diff --git a/internal/httputil/seek_test.go b/internal/httputil/seek_test.go index 075e1859..ed42e69f 100644 --- a/internal/httputil/seek_test.go +++ b/internal/httputil/seek_test.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package httputil import ( diff --git a/internal/ioutil/io.go b/internal/ioutil/io.go index 20c5ae32..84631ea6 100644 --- a/internal/ioutil/io.go +++ b/internal/ioutil/io.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package ioutil import ( diff --git a/internal/ioutil/io_test.go b/internal/ioutil/io_test.go index f5e7a86e..fe69d6cb 100644 --- a/internal/ioutil/io_test.go +++ b/internal/ioutil/io_test.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package ioutil import ( diff --git a/internal/resolver/memory.go b/internal/resolver/memory.go index 667c31d4..6fac5e2d 100644 --- a/internal/resolver/memory.go +++ b/internal/resolver/memory.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package resolver import ( diff --git a/internal/resolver/memory_test.go b/internal/resolver/memory_test.go index c937156a..eb9e1e56 100644 --- a/internal/resolver/memory_test.go +++ b/internal/resolver/memory_test.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package resolver import ( diff --git a/internal/status/tracker.go b/internal/status/tracker.go index e644539f..1a48bb5a 100644 --- a/internal/status/tracker.go +++ b/internal/status/tracker.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package status import ( diff --git a/internal/status/tracker_test.go b/internal/status/tracker_test.go index ab0fc7bd..c8f474d5 100644 --- a/internal/status/tracker_test.go +++ b/internal/status/tracker_test.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package status import ( diff --git a/internal/syncutil/once.go b/internal/syncutil/once.go index a685360b..1d557198 100644 --- a/internal/syncutil/once.go +++ b/internal/syncutil/once.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package syncutil import "context" diff --git a/internal/syncutil/once_test.go b/internal/syncutil/once_test.go index b0a31ae7..2bcba2f1 100644 --- a/internal/syncutil/once_test.go +++ b/internal/syncutil/once_test.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package syncutil import ( diff --git a/pack.go b/pack.go index 6927c5c3..39cc5c2a 100644 --- a/pack.go +++ b/pack.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package oras import ( diff --git a/pack_test.go b/pack_test.go index 642ba94d..87846f1c 100644 --- a/pack_test.go +++ b/pack_test.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package oras import ( diff --git a/pkg/content/manifest.go b/pkg/content/manifest.go index 9830920b..2213b3a3 100644 --- a/pkg/content/manifest.go +++ b/pkg/content/manifest.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package content import ( diff --git a/pkg/content/oci.go b/pkg/content/oci.go index 15124496..8af50930 100644 --- a/pkg/content/oci.go +++ b/pkg/content/oci.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package content import ( diff --git a/pkg/content/readerat.go b/pkg/content/readerat.go index 7e2cb9b8..5b0d7048 100644 --- a/pkg/content/readerat.go +++ b/pkg/content/readerat.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package content import ( diff --git a/pkg/content/registry.go b/pkg/content/registry.go index aa22567c..61ff7635 100644 --- a/pkg/content/registry.go +++ b/pkg/content/registry.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package content import ( diff --git a/pkg/oras/copy.go b/pkg/oras/copy.go index ebf63276..134d61e1 100644 --- a/pkg/oras/copy.go +++ b/pkg/oras/copy.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package oras import ( diff --git a/pkg/oras/opts.go b/pkg/oras/opts.go index 042a775b..7ada9386 100644 --- a/pkg/oras/opts.go +++ b/pkg/oras/opts.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package oras import ( diff --git a/pkg/oras/provider.go b/pkg/oras/provider.go index db16d75f..a41b2f37 100644 --- a/pkg/oras/provider.go +++ b/pkg/oras/provider.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package oras import ( diff --git a/pkg/target/target.go b/pkg/target/target.go index 4398f14e..b96ea663 100644 --- a/pkg/target/target.go +++ b/pkg/target/target.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package target import ( diff --git a/registry/reference.go b/registry/reference.go index 94bc1240..00eb3593 100644 --- a/registry/reference.go +++ b/registry/reference.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package registry import ( diff --git a/registry/reference_test.go b/registry/reference_test.go index 287a68a2..50883a47 100644 --- a/registry/reference_test.go +++ b/registry/reference_test.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package registry import ( diff --git a/registry/registry.go b/registry/registry.go index b14b4b87..68ba23c4 100644 --- a/registry/registry.go +++ b/registry/registry.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + // Package registry provides high-level operations to manage registries. package registry diff --git a/registry/remote/auth/cache.go b/registry/remote/auth/cache.go index 2d844c95..91a52e1c 100644 --- a/registry/remote/auth/cache.go +++ b/registry/remote/auth/cache.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package auth import ( diff --git a/registry/remote/auth/cache_test.go b/registry/remote/auth/cache_test.go index ab931f53..d4edfb6a 100644 --- a/registry/remote/auth/cache_test.go +++ b/registry/remote/auth/cache_test.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package auth import ( diff --git a/registry/remote/auth/challenge.go b/registry/remote/auth/challenge.go index e2d28a11..58bdefda 100644 --- a/registry/remote/auth/challenge.go +++ b/registry/remote/auth/challenge.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package auth import ( diff --git a/registry/remote/auth/challenge_test.go b/registry/remote/auth/challenge_test.go index dc896230..c8317696 100644 --- a/registry/remote/auth/challenge_test.go +++ b/registry/remote/auth/challenge_test.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package auth import ( diff --git a/registry/remote/auth/client.go b/registry/remote/auth/client.go index 83343f53..8fd8dd27 100644 --- a/registry/remote/auth/client.go +++ b/registry/remote/auth/client.go @@ -12,6 +12,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + +// Package auth provides authentication for a client to a remote registry. package auth import ( diff --git a/registry/remote/auth/client_test.go b/registry/remote/auth/client_test.go index ca953899..46fa15bf 100644 --- a/registry/remote/auth/client_test.go +++ b/registry/remote/auth/client_test.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package auth import ( diff --git a/registry/remote/auth/credential.go b/registry/remote/auth/credential.go index 2cd9f774..013305f7 100644 --- a/registry/remote/auth/credential.go +++ b/registry/remote/auth/credential.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package auth // EmptyCredential represents an empty credential. diff --git a/registry/remote/auth/scope.go b/registry/remote/auth/scope.go index 3b865dd6..3c8fd827 100644 --- a/registry/remote/auth/scope.go +++ b/registry/remote/auth/scope.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package auth import ( diff --git a/registry/remote/auth/scope_test.go b/registry/remote/auth/scope_test.go index 405a1e71..ac41ad7b 100644 --- a/registry/remote/auth/scope_test.go +++ b/registry/remote/auth/scope_test.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package auth import ( diff --git a/registry/remote/internal/errutil/errors.go b/registry/remote/internal/errutil/errors.go index 201ecce8..239ac32e 100644 --- a/registry/remote/internal/errutil/errors.go +++ b/registry/remote/internal/errutil/errors.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package errutil import ( diff --git a/registry/remote/internal/errutil/errors_test.go b/registry/remote/internal/errutil/errors_test.go index 4684db2b..8d967b58 100644 --- a/registry/remote/internal/errutil/errors_test.go +++ b/registry/remote/internal/errutil/errors_test.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package errutil import ( diff --git a/registry/remote/manifest.go b/registry/remote/manifest.go index e753fe6a..ce8c4afe 100644 --- a/registry/remote/manifest.go +++ b/registry/remote/manifest.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package remote import ( diff --git a/registry/remote/registry.go b/registry/remote/registry.go index 5156bea6..b59c96f8 100644 --- a/registry/remote/registry.go +++ b/registry/remote/registry.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + // Package remote provides a client to the remote registry. // Reference: https://github.com/distribution/distribution package remote diff --git a/registry/remote/registry_test.go b/registry/remote/registry_test.go index 03491904..0628d533 100644 --- a/registry/remote/registry_test.go +++ b/registry/remote/registry_test.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package remote import ( diff --git a/registry/remote/repository.go b/registry/remote/repository.go index f3cdf6d1..9bc1c8c0 100644 --- a/registry/remote/repository.go +++ b/registry/remote/repository.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package remote import ( diff --git a/registry/remote/repository_test.go b/registry/remote/repository_test.go index 1917b068..501b276e 100644 --- a/registry/remote/repository_test.go +++ b/registry/remote/repository_test.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package remote import ( diff --git a/registry/remote/url.go b/registry/remote/url.go index f12add8d..8ff54634 100644 --- a/registry/remote/url.go +++ b/registry/remote/url.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package remote import ( diff --git a/registry/remote/utils.go b/registry/remote/utils.go index fcdd4e90..9c30ce5e 100644 --- a/registry/remote/utils.go +++ b/registry/remote/utils.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package remote import ( diff --git a/registry/remote/utils_test.go b/registry/remote/utils_test.go index 69bba8f2..b2c27e27 100644 --- a/registry/remote/utils_test.go +++ b/registry/remote/utils_test.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package remote import ( diff --git a/registry/repository.go b/registry/repository.go index 78485b6d..b5c2deb6 100644 --- a/registry/repository.go +++ b/registry/repository.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package registry import ( diff --git a/target.go b/target.go index 31e61b4b..b13ad78b 100644 --- a/target.go +++ b/target.go @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package oras import "oras.land/oras-go/v2/content"