Skip to content

Commit

Permalink
Merge #28283
Browse files Browse the repository at this point in the history
28283: encoding/csv: update license file paths r=dt a=dt

Forgot to update these when vendoring the stdlib package.
Also switch the Example_ tests to test this package instead of stdlib.

Release note: none.

Co-authored-by: David Taylor <[email protected]>
  • Loading branch information
craig[bot] and dt committed Aug 6, 2018
2 parents 563e610 + 86bcdf6 commit e24c038
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions pkg/util/encoding/csv/example_test.go
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
// Copyright 2015 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// license that can be found in licenses/BSD-golang.txt.

package csv_test

import (
"context"
"encoding/csv"
"fmt"
"io"
"os"
"strings"

"github.com/cockroachdb/cockroach/pkg/util/encoding/csv"
"github.com/cockroachdb/cockroach/pkg/util/log"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/util/encoding/csv/reader.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// license that can be found in licenses/BSD-golang.txt.

// Package csv reads and writes comma-separated values (CSV) files.
// There are many kinds of CSV files; this package supports the format
Expand Down
2 changes: 1 addition & 1 deletion pkg/util/encoding/csv/reader_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// license that can be found in licenses/BSD-golang.txt.

package csv

Expand Down
2 changes: 1 addition & 1 deletion pkg/util/encoding/csv/writer.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// license that can be found in licenses/BSD-golang.txt.

package csv

Expand Down
2 changes: 1 addition & 1 deletion pkg/util/encoding/csv/writer_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// license that can be found in licenses/BSD-golang.txt.

package csv

Expand Down

0 comments on commit e24c038

Please sign in to comment.