From 9dd53fe5de5bd3fadcfe5e626862abef8a940350 Mon Sep 17 00:00:00 2001 From: Revital Sur Date: Mon, 26 Jul 2021 09:22:28 +0300 Subject: [PATCH] Prepare for organization rename (#78) Signed-off-by: Revital Sur --- README.md | 14 +++++++------- go.mod | 2 +- hack/get-openapi2crd.sh | 6 +++--- main.go | 6 +++--- pkg/generator/generator.go | 4 ++-- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 4e8a97a..4c08b3f 100644 --- a/README.md +++ b/README.md @@ -1,22 +1,22 @@ # openapi2crd -[![Go Report Card](https://goreportcard.com/badge/github.com/mesh-for-data/openapi2crd)](https://goreportcard.com/report/github.com/mesh-for-data/openapi2crd) -[![Go Reference](https://pkg.go.dev/badge/github.com/mesh-for-data/openapi2crd.svg)](https://pkg.go.dev/github.com/mesh-for-data/openapi2crd) -[![golangci-lint](https://github.com/mesh-for-data/openapi2crd/actions/workflows/golangci-lint.yml/badge.svg)](https://github.com/mesh-for-data/openapi2crd/actions/workflows/golangci-lint.yml) -[![CodeQL](https://github.com/mesh-for-data/openapi2crd/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/mesh-for-data/openapi2crd/actions/workflows/codeql-analysis.yml) -[![gosec](https://github.com/mesh-for-data/openapi2crd/actions/workflows/golang-security.yml/badge.svg)](https://github.com/mesh-for-data/openapi2crd/actions/workflows/golang-security.yml) +[![Go Report Card](https://goreportcard.com/badge/github.com/fybrik/openapi2crd)](https://goreportcard.com/report/github.com/fybrik/openapi2crd) +[![Go Reference](https://pkg.go.dev/badge/github.com/fybrik/openapi2crd.svg)](https://pkg.go.dev/github.com/fybrik/openapi2crd) +[![golangci-lint](https://github.com/fybrik/openapi2crd/actions/workflows/golangci-lint.yml/badge.svg)](https://github.com/fybrik/openapi2crd/actions/workflows/golangci-lint.yml) +[![CodeQL](https://github.com/fybrik/openapi2crd/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/fybrik/openapi2crd/actions/workflows/codeql-analysis.yml) +[![gosec](https://github.com/fybrik/openapi2crd/actions/workflows/golang-security.yml/badge.svg)](https://github.com/fybrik/openapi2crd/actions/workflows/golang-security.yml) `openapi2crd` is a CLI to generate Kubernetes Custom Resource Definition (CRD) resources from [OpenAPI 3.0](https://www.openapis.org/). ## Install -Download the appropriate version for your platform from [Releases](https://github.com/mesh-for-data/openapi2crd/releases/latest). You may want to install the binary to somewhere in your system's PATH such as `/usr/local/bin`. +Download the appropriate version for your platform from [Releases](https://github.com/fybrik/openapi2crd/releases/latest). You may want to install the binary to somewhere in your system's PATH such as `/usr/local/bin`. Alternatively, if you have go 1.16 or later then you can also use `go install`. This will put `openapi2crd` in `$(go env GOPATH)/bin`: ```bash -go install github.com/mesh-for-data/openapi2crd@latest +go install fybrik.io/openapi2crd@latest ``` ## Usage diff --git a/go.mod b/go.mod index e847ce3..5fda10f 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/mesh-for-data/openapi2crd +module fybrik.io/openapi2crd go 1.16 diff --git a/hack/get-openapi2crd.sh b/hack/get-openapi2crd.sh index c852bb8..fd87e80 100755 --- a/hack/get-openapi2crd.sh +++ b/hack/get-openapi2crd.sh @@ -6,13 +6,13 @@ set -e usage() { this=$1 cat <