Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated go.mod package path #5

Merged
merged 2 commits into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.

This project adheres to Semantic Versioning.

## 1.0.1 (July 2024)

Updated go.mod path (`gitlab.zgtools.net/devex/archetypes/gomods/zfmt` -> `github.com/zillow/zfmt`)

## 1.0.0 (July 2024)

Initial release to public github.com
Expand Down
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,11 @@ golangci-lint:
(cd $(mod) && \
echo "[lint] golangci-lint: $(mod)" && \
golangci-lint run --path-prefix $(mod) ./...) &&) true

.PHONY: gen
gen:
cd testdata; go run github.com/actgardner/gogen-avro/v10/cmd/[email protected] -containers . ./example.avsc
cd testdata; go run github.com/heetch/avro/cmd/[email protected] -p heetch -d ./heetch ./example.avsc
cd testdata; protoc --proto_path=. --go_out=./ ./example.proto


8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@
[![GitHub Actions](https://github.com/zillow/zfmt/actions/workflows/go.yml/badge.svg)](https://github.com/zillow/zfmt/actions/workflows/go.yml)
[![Codecov](https://codecov.io/gh/zillow/zfmt/branch/main/graph/badge.svg?token=STRT8T67YP)](https://codecov.io/gh/zillow/zfmt)

## Installation

`go get -u github.com/zillow/zfmt`

Note that zap only supports the two most recent minor versions of Go.

## About
Note that zap only supports the two most recent minor versions of Go.
A module which defines several concrete `Formatter` types responsible for serializing/deserializing objects.
The module centralizes this functionality and is leveraged by several zillow transport libs for use in configuration
driven serialization.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module gitlab.zgtools.net/devex/archetypes/gomods/zfmt
module github.com/zillow/zfmt

go 1.22

Expand Down
2 changes: 1 addition & 1 deletion protobase64_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package zfmt
import (
"testing"

"gitlab.zgtools.net/devex/archetypes/gomods/zfmt/testdata/example"
"github.com/zillow/zfmt/testdata/example"
)

func TestProtoBase64Formatter_MarshallUnmarshall(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion protojson_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"

"github.com/stretchr/testify/require"
"gitlab.zgtools.net/devex/archetypes/gomods/zfmt/testdata/example"
"github.com/zillow/zfmt/testdata/example"
)

func TestProtoJSONFormatter_MarshallUnmarshall(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion protoraw_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package zfmt
import (
"testing"

"gitlab.zgtools.net/devex/archetypes/gomods/zfmt/testdata/example"
"github.com/zillow/zfmt/testdata/example"
)

func TestProtoRawFormatter_MarshallUnmarshall(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions schematizedavro_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"reflect"
"testing"

"gitlab.zgtools.net/devex/archetypes/gomods/zfmt/testdata/heetch"
"github.com/zillow/zfmt/testdata/heetch"

av "gitlab.zgtools.net/devex/archetypes/gomods/zfmt/testdata"
av "github.com/zillow/zfmt/testdata"
)

func TestSchematizedAvroFormatter_Marshall(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion schematizedjson_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/google/go-cmp/cmp"

av "gitlab.zgtools.net/devex/archetypes/gomods/zfmt/testdata"
av "github.com/zillow/zfmt/testdata"
)

func TestSchematizedJsonFormatter_Marshall(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion schematizedproto_deprecated_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/google/go-cmp/cmp"
"github.com/google/go-cmp/cmp/cmpopts"
example2 "gitlab.zgtools.net/devex/archetypes/gomods/zfmt/testdata/example"
example2 "github.com/zillow/zfmt/testdata/example"
)

func TestSchematizedProtoDeprecatedFormatter_Marshall(t *testing.T) {
Expand Down
14 changes: 7 additions & 7 deletions testdata/example/example.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions testdata/generator.go

This file was deleted.

Loading