Skip to content

Commit

Permalink
chore: adds vanity import for files that don't have it. (#841)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcchavezs authored Nov 5, 2020
1 parent 9350186 commit be611d5
Show file tree
Hide file tree
Showing 163 changed files with 163 additions and 163 deletions.
2 changes: 1 addition & 1 deletion apmconfig/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@

// Package apmconfig provides an API for watching agent config
// changes.
package apmconfig
package apmconfig // import "go.elastic.co/apm/apmconfig"
2 changes: 1 addition & 1 deletion apmconfig/watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

package apmconfig
package apmconfig // import "go.elastic.co/apm/apmconfig"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion apmtest/configwatcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

package apmtest
package apmtest // import "go.elastic.co/apm/apmtest"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion apmtest/discard.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

package apmtest
package apmtest // import "go.elastic.co/apm/apmtest"

import (
"log"
Expand Down
2 changes: 1 addition & 1 deletion apmtest/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

package apmtest
package apmtest // import "go.elastic.co/apm/apmtest"

import "os"

Expand Down
2 changes: 1 addition & 1 deletion apmtest/httpsuite.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

package apmtest
package apmtest // import "go.elastic.co/apm/apmtest"

import (
"net/http"
Expand Down
2 changes: 1 addition & 1 deletion apmtest/recorder.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

package apmtest
package apmtest // import "go.elastic.co/apm/apmtest"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion apmtest/recordlogger.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

package apmtest
package apmtest // import "go.elastic.co/apm/apmtest"

import "fmt"

Expand Down
2 changes: 1 addition & 1 deletion apmtest/testlogger.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

package apmtest
package apmtest // import "go.elastic.co/apm/apmtest"

// TestLogger is an implementation of apm.Logger,
// logging to a testing.T.
Expand Down
2 changes: 1 addition & 1 deletion apmtest/withtransaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

package apmtest
package apmtest // import "go.elastic.co/apm/apmtest"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion breakdown.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

package apm
package apm // import "go.elastic.co/apm"

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion builtin_metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

package apm
package apm // import "go.elastic.co/apm"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion capturebody.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

package apm
package apm // import "go.elastic.co/apm"

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

package apm
package apm // import "go.elastic.co/apm"

import (
"os"
Expand Down
2 changes: 1 addition & 1 deletion context.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

package apm
package apm // import "go.elastic.co/apm"

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion error.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

package apm
package apm // import "go.elastic.co/apm"

import (
"crypto/rand"
Expand Down
2 changes: 1 addition & 1 deletion error_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

// +build !windows

package apm
package apm // import "go.elastic.co/apm"

import (
"syscall"
Expand Down
2 changes: 1 addition & 1 deletion error_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

package apm
package apm // import "go.elastic.co/apm"

import (
"syscall"
Expand Down
2 changes: 1 addition & 1 deletion fmt.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

package apm
package apm // import "go.elastic.co/apm"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion fnv.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package apm
package apm // import "go.elastic.co/apm"

const (
offset64 = 14695981039346656037
Expand Down
2 changes: 1 addition & 1 deletion gocontext.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

package apm
package apm // import "go.elastic.co/apm"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion gofuzz.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

// +build gofuzz

package apm
package apm // import "go.elastic.co/apm"

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

package apm
package apm // import "go.elastic.co/apm"

// Logger is an interface for logging, used by the tracer
// to log tracer errors and other interesting events.
Expand Down
2 changes: 1 addition & 1 deletion metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

package apm
package apm // import "go.elastic.co/apm"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion model/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
// Package model provides the Elastic APM model types.
//
// https://www.elastic.co/guide/en/apm/server/current/intake-api.html
package model
package model // import "go.elastic.co/apm/model"
2 changes: 1 addition & 1 deletion model/gofuzz.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

// +build gofuzz

package model
package model // import "go.elastic.co/apm/model"

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion model/maps.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

package model
package model // import "go.elastic.co/apm/model"

// StringMap is a slice-representation of map[string]string,
// optimized for fast JSON encoding.
Expand Down
2 changes: 1 addition & 1 deletion model/marshal.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

package model
package model // import "go.elastic.co/apm/model"

import (
"encoding/hex"
Expand Down
2 changes: 1 addition & 1 deletion model/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

package model
package model // import "go.elastic.co/apm/model"

import (
"net/http"
Expand Down
2 changes: 1 addition & 1 deletion modelwriter.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

package apm
package apm // import "go.elastic.co/apm"

import (
"go.elastic.co/apm/internal/ringbuffer"
Expand Down
2 changes: 1 addition & 1 deletion module/apmbeego/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
// under the License.

// Package apmbeego provides tracing and error-reporting middleware for Beego applications.
package apmbeego
package apmbeego // import "go.elastic.co/apm/module/apmbeego"
2 changes: 1 addition & 1 deletion module/apmbeego/filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

package apmbeego
package apmbeego // import "go.elastic.co/apm/module/apmbeego"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion module/apmchi/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@

// Package apmchi provides middleware for the Chi router,
// for tracing HTTP requests.
package apmchi
package apmchi // import "go.elastic.co/apm/module/apmchi"
2 changes: 1 addition & 1 deletion module/apmchi/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

package apmchi
package apmchi // import "go.elastic.co/apm/module/apmchi"

import (
"net/http"
Expand Down
2 changes: 1 addition & 1 deletion module/apmecho/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@

// Package apmecho provides middleware for the Echo framework,
// for tracing HTTP requests.
package apmecho
package apmecho // import "go.elastic.co/apm/module/apmecho"
2 changes: 1 addition & 1 deletion module/apmecho/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

package apmecho
package apmecho // import "go.elastic.co/apm/module/apmecho"

import (
"errors"
Expand Down
2 changes: 1 addition & 1 deletion module/apmechov4/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@

// Package apmechov4 provides middleware for the version 4 of Echo framework,
// for tracing HTTP requests.
package apmechov4
package apmechov4 // import "go.elastic.co/apm/module/apmechov4"
2 changes: 1 addition & 1 deletion module/apmechov4/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

// +build go1.9

package apmechov4
package apmechov4 // import "go.elastic.co/apm/module/apmechov4"

import (
"errors"
Expand Down
2 changes: 1 addition & 1 deletion module/apmelasticsearch/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

package apmelasticsearch
package apmelasticsearch // import "go.elastic.co/apm/module/apmelasticsearch"

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion module/apmelasticsearch/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@

// Package apmelasticsearch provides support for tracing the
// HTTP transport layer of Elasticsearch clients.
package apmelasticsearch
package apmelasticsearch // import "go.elastic.co/apm/module/apmelasticsearch"
2 changes: 1 addition & 1 deletion module/apmelasticsearch/requestname.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

// +build go1.10

package apmelasticsearch
package apmelasticsearch // import "go.elastic.co/apm/module/apmelasticsearch"

import (
"net/http"
Expand Down
2 changes: 1 addition & 1 deletion module/apmelasticsearch/requestname_go19.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

// +build !go1.10

package apmelasticsearch
package apmelasticsearch // import "go.elastic.co/apm/module/apmelasticsearch"

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion module/apmgin/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@

// Package apmgin provides middleware for the Gin framework,
// for tracing HTTP requests.
package apmgin
package apmgin // import "go.elastic.co/apm/module/apmgin"
2 changes: 1 addition & 1 deletion module/apmgin/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

package apmgin
package apmgin // import "go.elastic.co/apm/module/apmgin"

import (
"net/http"
Expand Down
2 changes: 1 addition & 1 deletion module/apmgocql/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
// +build go1.9

// Package apmgocql provides an observer for tracing gocql (Cassandra) query spans.
package apmgocql
package apmgocql // import "go.elastic.co/apm/module/apmgocql"
2 changes: 1 addition & 1 deletion module/apmgocql/observer.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

// +build go1.9

package apmgocql
package apmgocql // import "go.elastic.co/apm/module/apmgocql"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion module/apmgocql/signature.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

// +build go1.9

package apmgocql
package apmgocql // import "go.elastic.co/apm/module/apmgocql"

import (
"strings"
Expand Down
Loading

0 comments on commit be611d5

Please sign in to comment.