Skip to content

Commit

Permalink
apparently go gets mad when the package name mismatches with the fold…
Browse files Browse the repository at this point in the history
…er name
  • Loading branch information
superwhiskers committed Jan 29, 2020
1 parent fa6ae33 commit 06b39c1
Show file tree
Hide file tree
Showing 29 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion v1/buffer.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ file, you can obtain one at http://mozilla.org/MPL/2.0/.
*/

package crunch
package v1

import (
"encoding/binary"
Expand Down
2 changes: 1 addition & 1 deletion v1/buffer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ file, you can obtain one at http://mozilla.org/MPL/2.0/.
*/

package crunch
package v1

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion v1/crunch.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ file, you can obtain one at http://mozilla.org/MPL/2.0/.
*/

// Package crunch provides various utilities for manipulating bytes and bits easily
package crunch
package v1

import "encoding/binary"

Expand Down
2 changes: 1 addition & 1 deletion v1/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ file, you can obtain one at http://mozilla.org/MPL/2.0/.
*/

package crunch
package v1

import "fmt"

Expand Down
2 changes: 1 addition & 1 deletion v1/errors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ file, you can obtain one at http://mozilla.org/MPL/2.0/.
*/

package crunch
package v1

import "testing"

Expand Down
2 changes: 1 addition & 1 deletion v1/minibuf.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ file, you can obtain one at http://mozilla.org/MPL/2.0/.
*/

package crunch
package v1

import (
"encoding/binary"
Expand Down
2 changes: 1 addition & 1 deletion v1/minibuf_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ file, you can obtain one at http://mozilla.org/MPL/2.0/.
*/

package crunch
package v1

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion v1/stdbytebuffer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ file, you can obtain one at http://mozilla.org/MPL/2.0/.
*/

package crunch
package v1

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion v1/testutils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ file, you can obtain one at http://mozilla.org/MPL/2.0/.
*/

package crunch
package v1

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion v1/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ file, you can obtain one at http://mozilla.org/MPL/2.0/.
*/

package crunch
package v1

// atob converts a boolean to a byte
func atob(b bool) byte {
Expand Down
2 changes: 1 addition & 1 deletion v2/buffer.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ file, you can obtain one at http://mozilla.org/MPL/2.0/.
*/

package crunch
package v2

import "sync"

Expand Down
2 changes: 1 addition & 1 deletion v2/buffer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ file, you can obtain one at http://mozilla.org/MPL/2.0/.
*/

package crunch
package v2

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion v2/crunch.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ file, you can obtain one at http://mozilla.org/MPL/2.0/.
*/

// Package crunch provides various utilities for manipulating bytes and bits easily
package crunch
package v2
2 changes: 1 addition & 1 deletion v2/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ file, you can obtain one at http://mozilla.org/MPL/2.0/.
*/

package crunch
package v2

import "fmt"

Expand Down
2 changes: 1 addition & 1 deletion v2/errors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ file, you can obtain one at http://mozilla.org/MPL/2.0/.
*/

package crunch
package v2

import "testing"

Expand Down
2 changes: 1 addition & 1 deletion v2/minibuf.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ file, you can obtain one at http://mozilla.org/MPL/2.0/.
*/

package crunch
package v2

import "sync"

Expand Down
2 changes: 1 addition & 1 deletion v2/minibuf_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ file, you can obtain one at http://mozilla.org/MPL/2.0/.
*/

package crunch
package v2

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion v2/stdbytebuffer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ file, you can obtain one at http://mozilla.org/MPL/2.0/.
*/

package crunch
package v2

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion v2/testutils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ file, you can obtain one at http://mozilla.org/MPL/2.0/.
*/

package crunch
package v2

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion v2/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ file, you can obtain one at http://mozilla.org/MPL/2.0/.
*/

package crunch
package v2

// atob converts a boolean to a byte
func atob(b bool) byte {
Expand Down
2 changes: 1 addition & 1 deletion v3/buffer.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ file, you can obtain one at http://mozilla.org/MPL/2.0/.
*/

package crunch
package v3

import "unsafe"

Expand Down
2 changes: 1 addition & 1 deletion v3/buffer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ file, you can obtain one at http://mozilla.org/MPL/2.0/.
*/

package crunch
package v3

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion v3/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ file, you can obtain one at http://mozilla.org/MPL/2.0/.
*/

package crunch
package v3

import "fmt"

Expand Down
2 changes: 1 addition & 1 deletion v3/errors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ file, you can obtain one at http://mozilla.org/MPL/2.0/.
*/

package crunch
package v3

import "testing"

Expand Down
2 changes: 1 addition & 1 deletion v3/lib.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ file, you can obtain one at http://mozilla.org/MPL/2.0/.
*/

// Package crunch provides various utilities for manipulating bytes and bits easily
package crunch
package v3
2 changes: 1 addition & 1 deletion v3/minibuf.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ file, you can obtain one at http://mozilla.org/MPL/2.0/.
*/

package crunch
package v3

import "unsafe"

Expand Down
2 changes: 1 addition & 1 deletion v3/minibuf_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ file, you can obtain one at http://mozilla.org/MPL/2.0/.
*/

package crunch
package v3

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion v3/stdbytebuffer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ file, you can obtain one at http://mozilla.org/MPL/2.0/.
*/

package crunch
package v3

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion v3/testutils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ file, you can obtain one at http://mozilla.org/MPL/2.0/.
*/

package crunch
package v3

import (
"testing"
Expand Down

0 comments on commit 06b39c1

Please sign in to comment.