Skip to content

Commit

Permalink
fix: gomodule (#814)
Browse files Browse the repository at this point in the history
  • Loading branch information
prnk28 authored Oct 30, 2023
1 parent 10c6aa6 commit 703a726
Show file tree
Hide file tree
Showing 246 changed files with 2,402 additions and 1,039 deletions.
2 changes: 1 addition & 1 deletion .github/contribution/CLIENT_GUIDELINES.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ You will need to install and configure the following dependencies on your machin
You can setup your macOS or Linux machine to be ready for local development with these steps:

```sh
git clone https://github.com/sonr-io/core.git # Clone the repository
git clone https://sonr.io/core.git # Clone the repository
sh scripts/install.sh # Install dependencies
task # Display the available commands
```
Expand Down
2 changes: 1 addition & 1 deletion .github/contribution/DEVELOPERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ You will need to install and configure the following dependencies on your machin
You can setup your macOS or Linux machine to be ready for local development with these steps:

```sh
git clone https://github.com/sonr-io/core.git # Clone the repository
git clone https://sonr.io/core.git # Clone the repository
sh scripts/install.sh # Install dependencies
task # Display the available commands
```
Expand Down
4 changes: 2 additions & 2 deletions .github/contribution/TESTNET.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ You will need to install and configure the following dependencies on your machin
You can setup your macOS or Linux machine to be ready for local development with these steps:

```sh
git clone https://github.com/sonr-io/core.git # Clone the repository
git clone https://sonr.io/core.git # Clone the repository
sh scripts/install.sh # Install dependencies
task # Display the available commands
```
Expand All @@ -45,7 +45,7 @@ You will need to install and configure the following dependencies on your machin
You can setup your macOS or Linux machine to be ready for local development with these steps:

```sh
git clone https://github.com/sonr-io/core.git # Clone the repository
git clone https://sonr.io/core.git # Clone the repository
sh scripts/install.sh # Install dependencies
task # Display the available commands
```
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ release:
If you prefer to build from source, you can use the following commands:
````bash
git clone https://github.com/sonr-io/core
git clone https://sonr.io/core
cd core && git checkout v{{ .Version }}
make install
# Then run sonrd
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,15 +119,15 @@ Our approach for client libraries is uniform. Abstract away any blockchain speci
<!-- notranslate -->
<tr>
<td>JavaScript (TypeScript)</td>
<td><a href="https://github.com/sonr-io/core-js" target="_blank" rel="noopener noreferrer">sonr-js</a></td>
<td><a href="https://sonr.io/core-js" target="_blank" rel="noopener noreferrer">sonr-js</a></td>
<td><a href="https://github.com/sonr-io/auth-js" target="_blank" rel="noopener noreferrer">auth-js</a></td>
<td><a href="https://github.com/sonr-io/database-js" target="_blank" rel="noopener noreferrer">database-js</a></td>
<td><a href="https://github.com/sonr-io/storage-js" target="_blank" rel="noopener noreferrer">storage-js</a></td>
<td><a href="https://github.com/sonr-io/wallet-js" target="_blank" rel="noopener noreferrer">wallet-js</a></td>
</tr>
<tr>
<td>Flutter</td>
<td><a href="https://github.com/sonr-io/core-flutter" target="_blank" rel="noopener noreferrer">sonr-flutter</a></td>
<td><a href="https://sonr.io/core-flutter" target="_blank" rel="noopener noreferrer">sonr-flutter</a></td>
<td><a href="https://github.com/sonr-io/auth-dart" target="_blank" rel="noopener noreferrer">auth-dart</a></td>
<td><a href="https://github.com/sonr-io/database-dart" target="_blank" rel="noopener noreferrer">database-dart</a></td>
<td><a href="https://github.com/sonr-io/storage-dart" target="_blank" rel="noopener noreferrer">storage-dart</a></td>
Expand Down
24 changes: 12 additions & 12 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,18 +112,18 @@ import (
solomachine "github.com/cosmos/ibc-go/v7/modules/light-clients/06-solomachine"
ibctm "github.com/cosmos/ibc-go/v7/modules/light-clients/07-tendermint"

appparams "github.com/sonr-io/core/app/params"
"github.com/sonr-io/core/docs"
"github.com/sonr-io/core/internal/highway"
domainmodule "github.com/sonr-io/core/x/domain"
domainmodulekeeper "github.com/sonr-io/core/x/domain/keeper"
domainmoduletypes "github.com/sonr-io/core/x/domain/types"
identitymodule "github.com/sonr-io/core/x/identity"
identitymodulekeeper "github.com/sonr-io/core/x/identity/keeper"
identitymoduletypes "github.com/sonr-io/core/x/identity/types"
servicemodule "github.com/sonr-io/core/x/service"
servicemodulekeeper "github.com/sonr-io/core/x/service/keeper"
servicemoduletypes "github.com/sonr-io/core/x/service/types"
appparams "sonr.io/core/app/params"
"sonr.io/core/docs"
"sonr.io/core/internal/highway"
domainmodule "sonr.io/core/x/domain"
domainmodulekeeper "sonr.io/core/x/domain/keeper"
domainmoduletypes "sonr.io/core/x/domain/types"
identitymodule "sonr.io/core/x/identity"
identitymodulekeeper "sonr.io/core/x/identity/keeper"
identitymoduletypes "sonr.io/core/x/identity/types"
servicemodule "sonr.io/core/x/service"
servicemodulekeeper "sonr.io/core/x/service/keeper"
servicemoduletypes "sonr.io/core/x/service/types"
"github.com/spf13/cast"
)

Expand Down
2 changes: 1 addition & 1 deletion app/encoding.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/cosmos/cosmos-sdk/std"
"github.com/cosmos/cosmos-sdk/x/auth/tx"

"github.com/sonr-io/core/app/params"
"sonr.io/core/app/params"
)

// makeEncodingConfig creates an EncodingConfig for an amino based test configuration.
Expand Down
2 changes: 1 addition & 1 deletion cmd/sonrd/cmd/geninit.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"github.com/cosmos/cosmos-sdk/x/genutil"
"github.com/cosmos/go-bip39"
"github.com/pkg/errors"
"github.com/sonr-io/core/config"
"sonr.io/core/config"
"github.com/spf13/cobra"
)

Expand Down
10 changes: 5 additions & 5 deletions cmd/sonrd/cmd/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ import (
"github.com/spf13/cobra"
flag "github.com/spf13/pflag"

pluginsconfig "github.com/sonr-io/core/config/plugins"
"github.com/sonr-io/core/pkg/clictx"
"github.com/sonr-io/core/pkg/cliui"
"github.com/sonr-io/core/pkg/cliui/icons"
"github.com/sonr-io/core/services/plugin"
pluginsconfig "sonr.io/core/config/plugins"
"sonr.io/core/pkg/clictx"
"sonr.io/core/pkg/cliui"
"sonr.io/core/pkg/cliui/icons"
"sonr.io/core/services/plugin"
)

const (
Expand Down
6 changes: 3 additions & 3 deletions cmd/sonrd/cmd/plugin_default.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (

"github.com/spf13/cobra"

pluginsconfig "github.com/sonr-io/core/config/plugins"
"github.com/sonr-io/core/pkg/cliui"
"github.com/sonr-io/core/services/plugin"
pluginsconfig "sonr.io/core/config/plugins"
"sonr.io/core/pkg/cliui"
"sonr.io/core/services/plugin"
)

type defaultPlugin struct {
Expand Down
8 changes: 4 additions & 4 deletions cmd/sonrd/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ import (
"github.com/spf13/pflag"
"github.com/spf13/viper"

"github.com/sonr-io/core/app"
appparams "github.com/sonr-io/core/app/params"
sonrdconfig "github.com/sonr-io/core/config"
"github.com/sonr-io/core/internal/highway"
"sonr.io/core/app"
appparams "sonr.io/core/app/params"
sonrdconfig "sonr.io/core/config"
"sonr.io/core/internal/highway"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions cmd/sonrd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"github.com/cosmos/cosmos-sdk/server"
svrcmd "github.com/cosmos/cosmos-sdk/server/cmd"

"github.com/sonr-io/core/app"
sonrcmd "github.com/sonr-io/core/cmd/sonrd/cmd"
"sonr.io/core/app"
sonrcmd "sonr.io/core/cmd/sonrd/cmd"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions config/config.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package config

import (
"github.com/sonr-io/core/pkg/env"
"github.com/sonr-io/core/pkg/xfilepath"
"sonr.io/core/pkg/env"
"sonr.io/core/pkg/xfilepath"
)

var c Config
Expand Down
2 changes: 1 addition & 1 deletion config/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/spf13/viper"

"github.com/sonr-io/core/app"
"sonr.io/core/app"
)

// Masthead is the masthead of the application.
Expand Down
2 changes: 1 addition & 1 deletion config/plugins/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"golang.org/x/exp/slices"
"gopkg.in/yaml.v2"

"github.com/sonr-io/core/pkg/gomodule"
"sonr.io/core/pkg/gomodule"
)

type Config struct {
Expand Down
2 changes: 1 addition & 1 deletion config/plugins/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

pluginsconfig "github.com/sonr-io/core/config/plugins"
pluginsconfig "sonr.io/core/config/plugins"
)

func TestPluginIsGlobal(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion docker/start/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ARG RUNNER_IMAGE="alpine:3.16"
# ! ||----------------------------------------------------------------------------------||
FROM --platform=linux alpine

LABEL org.opencontainers.image.source https://github.com/sonr-io/core
LABEL org.opencontainers.image.source https://sonr.io/core
LABEL org.opencontainers.image.description "Base sonr daemon image"
# Copy sonrd binary and config
COPY ../bin/sonrd /usr/local/bin/sonrd
Expand Down
49 changes: 49 additions & 0 deletions docs/static/swagger/common/crypto/coin.swagger.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"swagger": "2.0",
"info": {
"title": "common/crypto/coin.proto",
"version": "version not set"
},
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {},
"definitions": {
"google.protobuf.Any": {
"type": "object",
"properties": {
"type_url": {
"type": "string"
},
"value": {
"type": "string",
"format": "byte"
}
}
},
"grpc.gateway.runtime.Error": {
"type": "object",
"properties": {
"error": {
"type": "string"
},
"code": {
"type": "integer",
"format": "int32"
},
"message": {
"type": "string"
},
"details": {
"type": "array",
"items": {
"$ref": "#/definitions/google.protobuf.Any"
}
}
}
}
}
}
49 changes: 49 additions & 0 deletions docs/static/swagger/common/crypto/ssi.swagger.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"swagger": "2.0",
"info": {
"title": "common/crypto/ssi.proto",
"version": "version not set"
},
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {},
"definitions": {
"google.protobuf.Any": {
"type": "object",
"properties": {
"type_url": {
"type": "string"
},
"value": {
"type": "string",
"format": "byte"
}
}
},
"grpc.gateway.runtime.Error": {
"type": "object",
"properties": {
"error": {
"type": "string"
},
"code": {
"type": "integer",
"format": "int32"
},
"message": {
"type": "string"
},
"details": {
"type": "array",
"items": {
"$ref": "#/definitions/google.protobuf.Any"
}
}
}
}
}
}
49 changes: 49 additions & 0 deletions docs/static/swagger/common/crypto/vc.swagger.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"swagger": "2.0",
"info": {
"title": "common/crypto/vc.proto",
"version": "version not set"
},
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {},
"definitions": {
"google.protobuf.Any": {
"type": "object",
"properties": {
"type_url": {
"type": "string"
},
"value": {
"type": "string",
"format": "byte"
}
}
},
"grpc.gateway.runtime.Error": {
"type": "object",
"properties": {
"error": {
"type": "string"
},
"code": {
"type": "integer",
"format": "int32"
},
"message": {
"type": "string"
},
"details": {
"type": "array",
"items": {
"$ref": "#/definitions/google.protobuf.Any"
}
}
}
}
}
}
Loading

0 comments on commit 703a726

Please sign in to comment.