From bb50c06baba3d0c76f9d125c0719093e315b5b44 Mon Sep 17 00:00:00 2001 From: Tim Cooper Date: Wed, 27 Sep 2017 21:25:42 -0300 Subject: [PATCH] oauth2/internal: remove duplicate package documentation Fixes golang/go#15855 Change-Id: I71a532a95995fbbfd8a9acd75244537cd05f02f0 Reviewed-on: https://go-review.googlesource.com/66730 Reviewed-by: JBD --- internal/doc.go | 6 ++++++ internal/oauth2.go | 1 - internal/oauth2_test.go | 1 - internal/token.go | 1 - internal/token_test.go | 1 - internal/transport.go | 1 - 6 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 internal/doc.go diff --git a/internal/doc.go b/internal/doc.go new file mode 100644 index 0000000..03265e8 --- /dev/null +++ b/internal/doc.go @@ -0,0 +1,6 @@ +// Copyright 2017 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. + +// Package internal contains support packages for oauth2 package. +package internal diff --git a/internal/oauth2.go b/internal/oauth2.go index e31541b..6978192 100644 --- a/internal/oauth2.go +++ b/internal/oauth2.go @@ -2,7 +2,6 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// Package internal contains support packages for oauth2 package. package internal import ( diff --git a/internal/oauth2_test.go b/internal/oauth2_test.go index 0aafc7f..07d51c4 100644 --- a/internal/oauth2_test.go +++ b/internal/oauth2_test.go @@ -2,7 +2,6 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// Package internal contains support packages for oauth2 package. package internal import ( diff --git a/internal/token.go b/internal/token.go index 53ec23c..cf959ea 100644 --- a/internal/token.go +++ b/internal/token.go @@ -2,7 +2,6 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// Package internal contains support packages for oauth2 package. package internal import ( diff --git a/internal/token_test.go b/internal/token_test.go index c19a462..df5eb26 100644 --- a/internal/token_test.go +++ b/internal/token_test.go @@ -2,7 +2,6 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// Package internal contains support packages for oauth2 package. package internal import ( diff --git a/internal/transport.go b/internal/transport.go index f1f173e..783bd98 100644 --- a/internal/transport.go +++ b/internal/transport.go @@ -2,7 +2,6 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// Package internal contains support packages for oauth2 package. package internal import (