Skip to content

Commit

Permalink
chore: update modules
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsannm committed Feb 11, 2024
1 parent b0bee65 commit 702f97d
Show file tree
Hide file tree
Showing 38 changed files with 38 additions and 2,008 deletions.
2 changes: 1 addition & 1 deletion cmd/cli-river/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"strings"
"time"

"github.com/abiosoft/ishell/v2"
"github.com/ronaksoft/river-msg/go/msg"
"gopkg.in/abiosoft/ishell.v2"
)

func fnGetString(c *ishell.Context, prompt string) string {
Expand Down
2 changes: 1 addition & 1 deletion cmd/cli-river/commands_account.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package main

import (
"github.com/abiosoft/ishell/v2"
"github.com/ronaksoft/river-msg/go/msg"
"gopkg.in/abiosoft/ishell.v2"
)

var Account = &ishell.Cmd{
Expand Down
2 changes: 1 addition & 1 deletion cmd/cli-river/commands_auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"path/filepath"
"strings"

"github.com/abiosoft/ishell/v2"
"github.com/ronaksoft/river-msg/go/msg"
riversdk "github.com/ronaksoft/river-sdk/sdk/prime"
"gopkg.in/abiosoft/ishell.v2"
)

var Auth = &ishell.Cmd{
Expand Down
2 changes: 1 addition & 1 deletion cmd/cli-river/commands_bot.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package main

import (
"github.com/abiosoft/ishell/v2"
"github.com/ronaksoft/river-msg/go/msg"
"github.com/ronaksoft/river-sdk/internal/domain"
"gopkg.in/abiosoft/ishell.v2"
)

/*
Expand Down
2 changes: 1 addition & 1 deletion cmd/cli-river/commands_call.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package main

import (
"github.com/abiosoft/ishell/v2"
"github.com/ronaksoft/river-msg/go/msg"
"gopkg.in/abiosoft/ishell.v2"
)

/*
Expand Down
2 changes: 1 addition & 1 deletion cmd/cli-river/commands_contact.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package main

import (
"github.com/abiosoft/ishell/v2"
"github.com/ronaksoft/river-msg/go/msg"
"github.com/ronaksoft/river-sdk/internal/domain"
"github.com/ronaksoft/river-sdk/internal/request"
riversdk "github.com/ronaksoft/river-sdk/sdk/prime"
"gopkg.in/abiosoft/ishell.v2"
)

var Contact = &ishell.Cmd{
Expand Down
2 changes: 1 addition & 1 deletion cmd/cli-river/commands_debug.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import (
"sync"
"time"

"github.com/abiosoft/ishell/v2"
"github.com/ronaksoft/river-msg/go/msg"
"github.com/ronaksoft/river-sdk/internal/domain"
"github.com/ronaksoft/river-sdk/internal/request"
"go.uber.org/zap/zapcore"
"gopkg.in/abiosoft/ishell.v2"
)

var Debug = &ishell.Cmd{
Expand Down
2 changes: 1 addition & 1 deletion cmd/cli-river/commands_file.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"os"
"path"

"github.com/abiosoft/ishell/v2"
"github.com/ronaksoft/river-msg/go/msg"
"github.com/ronaksoft/river-sdk/internal/domain"
"gopkg.in/abiosoft/ishell.v2"
)

var File = &ishell.Cmd{
Expand Down
2 changes: 1 addition & 1 deletion cmd/cli-river/commands_gif.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package main

import (
"github.com/abiosoft/ishell/v2"
"github.com/ronaksoft/river-msg/go/msg"
"gopkg.in/abiosoft/ishell.v2"
)

var Gif = &ishell.Cmd{
Expand Down
2 changes: 1 addition & 1 deletion cmd/cli-river/commands_group.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package main

import (
"github.com/abiosoft/ishell/v2"
"github.com/ronaksoft/river-msg/go/msg"
"gopkg.in/abiosoft/ishell.v2"
)

var Group = &ishell.Cmd{
Expand Down
26 changes: 12 additions & 14 deletions cmd/cli-river/commands_init.go
Original file line number Diff line number Diff line change
@@ -1,25 +1,23 @@
package main

import (
"gopkg.in/abiosoft/ishell.v2"
)
import "github.com/abiosoft/ishell/v2"

var Init = &ishell.Cmd{
Name: "Init",
Aliases: []string{"init", "i"},
Name: "Init",
Aliases: []string{"init", "i"},
}

var InitAuth = &ishell.Cmd{
Name: "Auth",
Func: func(c *ishell.Context) {
if err := _SDK.CreateAuthKey(); err != nil {
c.Println("Create AuthKey Failed:", err)
} else {
c.Println("CreateAuthKey -- OK --")
}
},
Name: "Auth",
Func: func(c *ishell.Context) {
if err := _SDK.CreateAuthKey(); err != nil {
c.Println("Create AuthKey Failed:", err)
} else {
c.Println("CreateAuthKey -- OK --")
}
},
}

func init() {
Init.AddCmd(InitAuth)
Init.AddCmd(InitAuth)
}
2 changes: 1 addition & 1 deletion cmd/cli-river/commands_label.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ package main
import (
"sync"

"github.com/abiosoft/ishell/v2"
"github.com/ronaksoft/river-msg/go/msg"
"github.com/ronaksoft/river-sdk/internal/domain"
"github.com/ronaksoft/river-sdk/internal/repo"
"github.com/ronaksoft/rony"
"gopkg.in/abiosoft/ishell.v2"
)

var Label = &ishell.Cmd{
Expand Down
2 changes: 1 addition & 1 deletion cmd/cli-river/commands_message.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package main

import (
"github.com/abiosoft/ishell/v2"
"github.com/ronaksoft/river-msg/go/msg"
"github.com/ronaksoft/river-sdk/internal/domain"
"github.com/ronaksoft/rony"
"gopkg.in/abiosoft/ishell.v2"
)

var Message = &ishell.Cmd{
Expand Down
2 changes: 1 addition & 1 deletion cmd/cli-river/commands_mini.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package main

import (
"github.com/abiosoft/ishell/v2"
"github.com/ronaksoft/river-msg/go/msg"
"github.com/ronaksoft/rony"
"gopkg.in/abiosoft/ishell.v2"
)

/*
Expand Down
2 changes: 1 addition & 1 deletion cmd/cli-river/commands_sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import (
"fmt"
"time"

"github.com/abiosoft/ishell/v2"
"github.com/ronaksoft/river-msg/go/msg"
"github.com/ronaksoft/river-sdk/internal/domain"
"github.com/ronaksoft/river-sdk/internal/logs"
mon "github.com/ronaksoft/river-sdk/internal/monitoring"
riversdk "github.com/ronaksoft/river-sdk/sdk/prime"
"gopkg.in/abiosoft/ishell.v2"
)

var SDK = &ishell.Cmd{
Expand Down
2 changes: 1 addition & 1 deletion cmd/cli-river/commands_system.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package main

import (
"github.com/abiosoft/ishell/v2"
"github.com/ronaksoft/river-msg/go/msg"
"gopkg.in/abiosoft/ishell.v2"
)

var System = &ishell.Cmd{
Expand Down
2 changes: 1 addition & 1 deletion cmd/cli-river/commands_team.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package main

import (
"github.com/abiosoft/ishell/v2"
"github.com/ronaksoft/river-msg/go/msg"
"github.com/ronaksoft/river-sdk/internal/request"
riversdk "github.com/ronaksoft/river-sdk/sdk/prime"
"gopkg.in/abiosoft/ishell.v2"
)

var Team = &ishell.Cmd{
Expand Down
2 changes: 1 addition & 1 deletion cmd/cli-river/commands_user.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package main

import (
"github.com/abiosoft/ishell/v2"
"github.com/ronaksoft/river-msg/go/msg"
"gopkg.in/abiosoft/ishell.v2"
)

var User = &ishell.Cmd{
Expand Down
2 changes: 1 addition & 1 deletion cmd/cli-river/commands_wallpaper.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package main

import (
"github.com/abiosoft/ishell/v2"
"github.com/ronaksoft/river-msg/go/msg"
"gopkg.in/abiosoft/ishell.v2"
)

var WallPaper = &ishell.Cmd{
Expand Down
2 changes: 1 addition & 1 deletion cmd/cli-river/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ import (
"path/filepath"
"strings"

"github.com/abiosoft/ishell/v2"
"github.com/fatih/color"
"github.com/ronaksoft/river-msg/go/msg"
"github.com/ronaksoft/river-sdk/internal/logs"
"github.com/ronaksoft/river-sdk/sdk/mini"
riversdk "github.com/ronaksoft/river-sdk/sdk/prime"
"go.uber.org/zap/zapcore"
"gopkg.in/abiosoft/ishell.v2"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ go 1.18

require (
github.com/Workiva/go-datastructures v1.1.1
github.com/abiosoft/ishell/v2 v2.0.2
github.com/beeker1121/goque v2.1.0+incompatible
github.com/blevesearch/bleve/v2 v2.3.10
github.com/boltdb/bolt v1.3.1
Expand All @@ -30,7 +31,6 @@ require (
golang.org/x/mobile v0.0.0-20210527171505-7e972142eb43
golang.org/x/sync v0.6.0
google.golang.org/protobuf v1.32.0
gopkg.in/abiosoft/ishell.v2 v2.0.0
)

require (
Expand Down
5 changes: 3 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ github.com/Workiva/go-datastructures v1.1.1 h1:9G5u1UqKt6ABseAffHGNfbNQd7omRlWE5
github.com/Workiva/go-datastructures v1.1.1/go.mod h1:1yZL+zfsztete+ePzZz/Zb1/t5BnDuE2Ya2MMGhzP6A=
github.com/abiosoft/ishell v2.0.0+incompatible h1:zpwIuEHc37EzrsIYah3cpevrIc8Oma7oZPxr03tlmmw=
github.com/abiosoft/ishell v2.0.0+incompatible/go.mod h1:HQR9AqF2R3P4XXpMpI0NAzgHf/aS6+zVXRj14cVk9qg=
github.com/abiosoft/ishell/v2 v2.0.2 h1:5qVfGiQISaYM8TkbBl7RFO6MddABoXpATrsFbVI+SNo=
github.com/abiosoft/ishell/v2 v2.0.2/go.mod h1:E4oTCXfo6QjoCart0QYa5m9w4S+deXs/P/9jA77A9Bs=
github.com/abiosoft/readline v0.0.0-20180607040430-155bce2042db h1:CjPUSXOiYptLbTdr1RceuZgSFDQ7U15ITERUGrUORx8=
github.com/abiosoft/readline v0.0.0-20180607040430-155bce2042db/go.mod h1:rB3B4rKii8V21ydCbIzH5hZiCQE7f5E9SzUb/ZZx530=
github.com/ajg/form v1.5.1/go.mod h1:uL1WgH+h2mgNtvBq0339dVnzXdBETtL2LeUXaIv25UY=
Expand Down Expand Up @@ -184,6 +186,7 @@ github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7
github.com/etcd-io/bbolt v1.3.3/go.mod h1:ZF2nL25h33cCyBtcyWeZ2/I3HQOfTP+0PIEvHjkjCrw=
github.com/fasthttp-contrib/websocket v0.0.0-20160511215533-1f3b11f56072/go.mod h1:duJ4Jxv5lDcvg4QuQr0oowTf7dz4/CR8NtyCooz9HL8=
github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=
github.com/fatih/color v1.12.0/go.mod h1:ELkj/draVOlAH/xkhN6mQ50Qd0MPOk5AAr3maGEBuJM=
github.com/fatih/color v1.16.0 h1:zmkK9Ngbjj+K0yRhTVONQh1p/HknKYSlNT+vZCzyokM=
github.com/fatih/color v1.16.0/go.mod h1:fL2Sau1YI5c0pdGEVCbKQbLXB6edEj1ZgiY4NijnWvE=
github.com/fatih/structs v1.1.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga6PJ7M=
Expand Down Expand Up @@ -1114,8 +1117,6 @@ google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQ
google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
google.golang.org/protobuf v1.32.0 h1:pPC6BG5ex8PDFnkbrGU3EixyhKcQ2aDuBS36lqK/C7I=
google.golang.org/protobuf v1.32.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/abiosoft/ishell.v2 v2.0.0 h1:/J5yh3nWYSSGFjALcitTI9CLE0Tu27vBYHX0srotqOc=
gopkg.in/abiosoft/ishell.v2 v2.0.0/go.mod h1:sFp+cGtH6o4s1FtpVPTMcHq2yue+c4DGOVohJCPUzwY=
gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
Expand Down
5 changes: 0 additions & 5 deletions vendor/gopkg.in/abiosoft/ishell.v2/.gitignore

This file was deleted.

9 changes: 0 additions & 9 deletions vendor/gopkg.in/abiosoft/ishell.v2/.travis.yml

This file was deleted.

32 changes: 0 additions & 32 deletions vendor/gopkg.in/abiosoft/ishell.v2/CHANGES.md

This file was deleted.

21 changes: 0 additions & 21 deletions vendor/gopkg.in/abiosoft/ishell.v2/LICENSE

This file was deleted.

Loading

0 comments on commit 702f97d

Please sign in to comment.