Add package that fixes parsing error
This commit is contained in:
parent
418593b0ef
commit
ad4004fb63
2
TODO.md
2
TODO.md
@ -16,7 +16,7 @@ Bugs:
|
||||
of chat pane (y). Because message will sometimes span more than one
|
||||
line and we're able to scroll. Only figure out how many messages you
|
||||
want to load.
|
||||
- [ ] GetMessages for a channel can result in `json: cannot unmarshal number
|
||||
- [x] GetMessages for a channel can result in `json: cannot unmarshal number
|
||||
into Go value of type string` https://github.com/nlopes/slack/issues/92
|
||||
- [ ] docs at exported functions
|
||||
- [ ] incoming message event.go probably need a type switch
|
||||
|
@ -4,8 +4,9 @@ import (
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/erroneousboat/slack-term/src/service"
|
||||
"github.com/gizak/termui"
|
||||
|
||||
"github.com/erroneousboat/slack-term/src/service"
|
||||
)
|
||||
|
||||
type Channels struct {
|
||||
|
@ -3,8 +3,9 @@ package components
|
||||
import (
|
||||
"strings"
|
||||
|
||||
"github.com/erroneousboat/slack-term/src/service"
|
||||
"github.com/gizak/termui"
|
||||
|
||||
"github.com/erroneousboat/slack-term/src/service"
|
||||
)
|
||||
|
||||
type Chat struct {
|
||||
|
@ -1,8 +1,9 @@
|
||||
package components
|
||||
|
||||
import (
|
||||
"github.com/erroneousboat/slack-term/src/service"
|
||||
"github.com/gizak/termui"
|
||||
|
||||
"github.com/erroneousboat/slack-term/src/service"
|
||||
)
|
||||
|
||||
// Input is the definition of and input box
|
||||
|
@ -1,8 +1,8 @@
|
||||
package handlers
|
||||
|
||||
import (
|
||||
"github.com/erroneousboat/slack"
|
||||
"github.com/gizak/termui"
|
||||
"github.com/nlopes/slack"
|
||||
|
||||
"github.com/erroneousboat/slack-term/src/context"
|
||||
"github.com/erroneousboat/slack-term/src/views"
|
||||
|
@ -6,7 +6,7 @@ import (
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
"github.com/nlopes/slack"
|
||||
"github.com/erroneousboat/slack"
|
||||
)
|
||||
|
||||
type SlackService struct {
|
||||
|
6
src/vendor/vendor.json
vendored
6
src/vendor/vendor.json
vendored
@ -2,6 +2,12 @@
|
||||
"comment": "",
|
||||
"ignore": "test",
|
||||
"package": [
|
||||
{
|
||||
"checksumSHA1": "2xFMeuNz5+Q/Zoj4UB7VLVEUUBg=",
|
||||
"path": "github.com/erroneousboat/slack",
|
||||
"revision": "bffff62454d1f96706a775078228eb4313863cf2",
|
||||
"revisionTime": "2016-10-01T12:00:35Z"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "h3TS3NxvpHvzwUysrtqVu2BntAE=",
|
||||
"path": "github.com/gizak/termui",
|
||||
|
@ -1,10 +1,10 @@
|
||||
package views
|
||||
|
||||
import (
|
||||
"github.com/gizak/termui"
|
||||
|
||||
"github.com/erroneousboat/slack-term/src/components"
|
||||
"github.com/erroneousboat/slack-term/src/service"
|
||||
|
||||
"github.com/gizak/termui"
|
||||
)
|
||||
|
||||
type View struct {
|
||||
|
Loading…
Reference in New Issue
Block a user