Skip to content

Commit

Permalink
add empty doc.go in module root to support some tooling
Browse files Browse the repository at this point in the history
Some tools MAY have issues with empty packages.
It may be more problematic if the package is a module root.

To possibly help with this, we will use this doc.go
to make this module root a real package with files.

Updates #291
  • Loading branch information
ugorji committed Apr 12, 2019
1 parent 2adff08 commit 5e5ed36
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved.
// Use of this source code is governed by a MIT license found in the LICENSE file.

/*
Package go is an empty holder package for go-codec.
This doc.go is here just to support tools that have problems with empty packages.
DO NOT USE THIS PACKAGE DIRECTLY.
*/
package go

0 comments on commit 5e5ed36

Please sign in to comment.