Skip to content

Commit

Permalink
add canonical import paths
Browse files Browse the repository at this point in the history
The import path was added to the go file that included the package
documentation if one existed.  Otherwise, I used what seemed to be the
primary file for the package.
  • Loading branch information
willnorris committed Mar 14, 2016
1 parent 40a0492 commit 03efcb8
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion bytereplacer/bytereplacer.go
Expand Up @@ -15,7 +15,7 @@ limitations under the License.
*/

// Package bytereplacer provides a utility for replacing parts of byte slices.
package bytereplacer
package bytereplacer // import "go4.org/bytereplacer"

import "bytes"

Expand Down
2 changes: 1 addition & 1 deletion cloud/cloudlaunch/cloudlaunch.go
Expand Up @@ -16,7 +16,7 @@ limitations under the License.

// Package cloudlaunch helps binaries run themselves on The Cloud, copying
// themselves to GCE.
package cloudlaunch
package cloudlaunch // import "go4.org/cloud/cloudlaunch"

import (
"encoding/json"
Expand Down
2 changes: 1 addition & 1 deletion cloud/google/gceutil/gceutil.go
Expand Up @@ -16,7 +16,7 @@ limitations under the License.

// Package gceutil provides utility functions to help with instances on
// Google Compute Engine.
package gceutil
package gceutil // import "go4.org/cloud/google/gceutil"

import (
"encoding/json"
Expand Down
2 changes: 1 addition & 1 deletion cloud/google/gcsutil/storage.go
Expand Up @@ -16,7 +16,7 @@ limitations under the License.

// Package gcsutil provides tools for accessing Google Cloud Storage until they can be
// completely replaced by google.golang.org/cloud/storage.
package gcsutil
package gcsutil // import "go4.org/cloud/google/gcsutil"

import (
"encoding/xml"
Expand Down
2 changes: 1 addition & 1 deletion ctxutil/ctxutil.go
Expand Up @@ -15,7 +15,7 @@ limitations under the License.
*/

// Package ctxutil contains golang.org/x/net/context related utilities.
package ctxutil
package ctxutil // import "go4.org/ctxutil"

import (
"net/http"
Expand Down
2 changes: 1 addition & 1 deletion errorutil/highlight.go
Expand Up @@ -15,7 +15,7 @@ limitations under the License.
*/

// Package errorutil helps make better error messages.
package errorutil
package errorutil // import "go4.org/errorutil"

import (
"bufio"
Expand Down
2 changes: 1 addition & 1 deletion fault/fault.go
Expand Up @@ -15,7 +15,7 @@ limitations under the License.
*/

// Package fault handles fault injection for testing.
package fault
package fault // import "go4.org/fault"

import (
"errors"
Expand Down
2 changes: 1 addition & 1 deletion jsonconfig/jsonconfig.go
Expand Up @@ -16,7 +16,7 @@ limitations under the License.

// Package jsonconfig defines a helper type for JSON objects to be
// used for configuration.
package jsonconfig
package jsonconfig // import "go4.org/jsonconfig"

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion legal/legal.go
Expand Up @@ -15,7 +15,7 @@ limitations under the License.
*/

// Package legal provides in-process storage for compiled-in licenses.
package legal
package legal // import "go4.org/legal"

var licenses []string

Expand Down
2 changes: 1 addition & 1 deletion lock/lock.go
Expand Up @@ -15,7 +15,7 @@ limitations under the License.
*/

// Package lock is a file locking library.
package lock
package lock // import "go4.org/lock"

import (
"encoding/json"
Expand Down
2 changes: 1 addition & 1 deletion oauthutil/oauth.go
Expand Up @@ -15,7 +15,7 @@ limitations under the License.
*/

// Package oauthutil contains OAuth 2 related utilities.
package oauthutil
package oauthutil // import "go4.org/oauthutil"

import (
"encoding/json"
Expand Down
2 changes: 1 addition & 1 deletion syncutil/syncdebug/syncdebug.go
Expand Up @@ -16,7 +16,7 @@ limitations under the License.

// Package syncdebug contains facilities for debugging synchronization
// problems.
package syncdebug
package syncdebug // import "go4.org/syncutil/syncdebug"

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion types/types.go
Expand Up @@ -15,7 +15,7 @@ limitations under the License.
*/

// Package types provides various common types.
package types
package types // import "go4.org/types"

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion wkfs/gcs/gcs.go
Expand Up @@ -20,7 +20,7 @@ limitations under the License.
//
// It was initially only meant for small files, and as such, it can only
// read files smaller than 1MB for now.
package gcs
package gcs // import "go4.org/wkfs/gcs"

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion wkfs/wkfs.go
Expand Up @@ -25,7 +25,7 @@ limitations under the License.
// Example of top-level well-known directories that might be
// registered include /gcs/bucket/object for Google Cloud Storage or
// /s3/bucket/object for AWS S3.
package wkfs
package wkfs // import "go4.org/wkfs"

import (
"io"
Expand Down

0 comments on commit 03efcb8

Please sign in to comment.