Skip to content

Commit

Permalink
Make the root package importable (#527)
Browse files Browse the repository at this point in the history
* Make the root package importable

As part of the fix for ambiguous import errors, the root package needs
to be importable.

Please see the follow-on commit for details.

* bump version number

Co-authored-by: Joel Hendrix <[email protected]>
  • Loading branch information
miquella and jhendrixMSFT authored Jun 23, 2020
1 parent 778ae56 commit e7b391b
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## v14.2.0

- Added package comment to make `github.com/Azure/go-autorest` importable.

## v14.1.1

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion autorest/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"runtime"
)

const number = "v14.1.1"
const number = "v14.2.0"

var (
userAgent = fmt.Sprintf("Go/%s (%s-%s) go-autorest/%s",
Expand Down
18 changes: 18 additions & 0 deletions doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/*
Package go-autorest provides an HTTP request client for use with Autorest-generated API client packages.
*/
package go_autorest

// Copyright 2017 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// 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.

0 comments on commit e7b391b

Please sign in to comment.