Git Product home page Git Product logo

mattermost-app-examples's Introduction

mattermost-app-examples's People

Contributors

azigler avatar carydrew avatar chenilim avatar dsharma522 avatar hanzei avatar javaguirre avatar mweichert avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mattermost-app-examples's Issues

[golang/hello-world] Panic during sending a message

I'm following the guide,
but when I try to send any message I get the error in UI upstream call failed: failed to invoke via HTTP: Post "http://mattermost-apps-golang-hello-world:4000/send": EOF
and panic in logs:

hello-world-mattermost-apps-golang-hello-world-1  | http: panic serving 172.18.0.3:58954: runtime error: invalid memory address or nil pointer dereference
hello-world-mattermost-apps-golang-hello-world-1  | goroutine 6 [running]:
hello-world-mattermost-apps-golang-hello-world-1  | net/http.(*conn).serve.func1()
hello-world-mattermost-apps-golang-hello-world-1  | 	/usr/local/go/src/net/http/server.go:1854 +0xbf
hello-world-mattermost-apps-golang-hello-world-1  | panic({0x1075b40, 0x1ce9170})
hello-world-mattermost-apps-golang-hello-world-1  | 	/usr/local/go/src/runtime/panic.go:890 +0x263
hello-world-mattermost-apps-golang-hello-world-1  | main.Send({0x152a7b0, 0xc0001f8460}, 0xc00016e000)
hello-world-mattermost-apps-golang-hello-world-1  | 	/app/hello.go:149 +0x307
hello-world-mattermost-apps-golang-hello-world-1  | net/http.HandlerFunc.ServeHTTP(0xc0001f8460?, {0x152a7b0?, 0xc0001f8460?}, 0x11ed0a3?)
hello-world-mattermost-apps-golang-hello-world-1  | 	/usr/local/go/src/net/http/server.go:2122 +0x2f
hello-world-mattermost-apps-golang-hello-world-1  | net/http.(*ServeMux).ServeHTTP(0x0?, {0x152a7b0, 0xc0001f8460}, 0xc00016e000)
hello-world-mattermost-apps-golang-hello-world-1  | 	/usr/local/go/src/net/http/server.go:2500 +0x149
hello-world-mattermost-apps-golang-hello-world-1  | net/http.serverHandler.ServeHTTP({0x15283e8?}, {0x152a7b0, 0xc0001f8460}, 0xc00016e000)
hello-world-mattermost-apps-golang-hello-world-1  | 	/usr/local/go/src/net/http/server.go:2936 +0x316
hello-world-mattermost-apps-golang-hello-world-1  | net/http.(*conn).serve(0xc0006f4000, {0x152b290, 0xc00058e2a0})
hello-world-mattermost-apps-golang-hello-world-1  | 	/usr/local/go/src/net/http/server.go:1995 +0x612
hello-world-mattermost-apps-golang-hello-world-1  | created by net/http.(*Server).Serve
hello-world-mattermost-apps-golang-hello-world-1  | 	/usr/local/go/src/net/http/server.go:3089 +0x5ed

Import v8 with go

The go example uses v6, and I'm trying to update my go program which uses github.com/mattermost/mattermost-server similarly.

Could you update the example on how to use the latest version?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.