Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Add Go import comments. #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion api/common.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package api
package api // import "docker.io/go-docker/api"

// Common constants for daemon and client.
const (
Expand Down
2 changes: 1 addition & 1 deletion api/types/auth.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package types
package types // import "docker.io/go-docker/api/types"

// AuthConfig contains authorization information for connecting to a Registry
type AuthConfig struct {
Expand Down
2 changes: 1 addition & 1 deletion api/types/blkiodev/blkio.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package blkiodev
package blkiodev // import "docker.io/go-docker/api/types/blkiodev"

import "fmt"

Expand Down
2 changes: 1 addition & 1 deletion api/types/container/container_wait.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package container
package container // import "docker.io/go-docker/api/types/container"

// ----------------------------------------------------------------------------
// DO NOT EDIT THIS FILE
Expand Down
2 changes: 1 addition & 1 deletion api/types/events/events.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package events
package events // import "docker.io/go-docker/api/types/events"

const (
// ContainerEventType is the event type that containers generate
Expand Down
2 changes: 1 addition & 1 deletion api/types/filters/parse.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*Package filters provides tools for encoding a mapping of keys to a set of
multiple values.
*/
package filters
package filters // import "docker.io/go-docker/api/types/filters"

import (
"encoding/json"
Expand Down
2 changes: 1 addition & 1 deletion api/types/image/image_history.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package image
package image // import "docker.io/go-docker/api/types/image"

// ----------------------------------------------------------------------------
// DO NOT EDIT THIS FILE
Expand Down
2 changes: 1 addition & 1 deletion api/types/mount/mount.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package mount
package mount // import "docker.io/go-docker/api/types/mount"

import (
"os"
Expand Down
2 changes: 1 addition & 1 deletion api/types/network/network.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package network
package network // import "docker.io/go-docker/api/types/network"

// Address represents an IP address
type Address struct {
Expand Down
2 changes: 1 addition & 1 deletion api/types/plugins/logdriver/entry.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/types/registry/authenticate.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package registry
package registry // import "docker.io/go-docker/api/types/registry"

// ----------------------------------------------------------------------------
// DO NOT EDIT THIS FILE
Expand Down
2 changes: 1 addition & 1 deletion api/types/strslice/strslice.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package strslice
package strslice // import "docker.io/go-docker/api/types/strslice"

import "encoding/json"

Expand Down
2 changes: 1 addition & 1 deletion api/types/swarm/container.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package swarm
package swarm // import "docker.io/go-docker/api/types/swarm"

import (
"time"
Expand Down
2 changes: 1 addition & 1 deletion api/types/swarm/runtime/gen.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
//go:generate protoc -I . --gogofast_out=import_path=docker.io/go-docker/api/types/swarm/runtime:. plugin.proto

package runtime
package runtime // import "docker.io/go-docker/api/types/swarm/runtime"
2 changes: 1 addition & 1 deletion api/types/time/duration_convert.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package time
package time // import "docker.io/go-docker/api/types/time"

import (
"strconv"
Expand Down
2 changes: 1 addition & 1 deletion api/types/versions/compare.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package versions
package versions // import "docker.io/go-docker/api/types/versions"

import (
"strconv"
Expand Down
2 changes: 1 addition & 1 deletion api/types/versions/v1p19/types.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Package v1p19 provides specific API types for the API version 1, patch 19.
package v1p19
package v1p19 // import "docker.io/go-docker/api/types/versions/v1p19"

import (
"docker.io/go-docker/api/types"
Expand Down
2 changes: 1 addition & 1 deletion api/types/versions/v1p20/types.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Package v1p20 provides specific API types for the API version 1, patch 20.
package v1p20
package v1p20 // import "docker.io/go-docker/api/types/versions/v1p20"

import (
"docker.io/go-docker/api/types"
Expand Down
2 changes: 1 addition & 1 deletion api/types/volume/volumes_create.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package volume
package volume // import "docker.io/go-docker/api/types/volume"

// ----------------------------------------------------------------------------
// DO NOT EDIT THIS FILE
Expand Down