exit status 1272020/07/06 16:35:03 http: panic serving [::1]:56412: runtime error: index out of range [1] with length 1
goroutine 6 [running]:
net/http.(*conn).serve.func1(0xc0001030e0)
/usr/local/go/src/net/http/server.go:1772 +0x139
panic(0x7306c0, 0xc00009c0c0)
/usr/local/go/src/runtime/panic.go:975 +0x3e3
main.getChannelList(0x7cab00, 0xc0000aa000, 0xc0000b2100)
/home/anoop/Work/github/maniankara/hyperledger-easydoser/easyDoser-server/main.go:49 +0x903
net/http.HandlerFunc.ServeHTTP(0x76d7a8, 0x7cab00, 0xc0000aa000, 0xc0000b2100)
/usr/local/go/src/net/http/server.go:2012 +0x44
github.com/gorilla/mux.(*Router).ServeHTTP(0xc000136000, 0x7cab00, 0xc0000aa000, 0xc000162000)
/home/anoop/go/src/github.com/gorilla/mux/mux.go:210 +0xe2
net/http.serverHandler.ServeHTTP(0xc000148000, 0x7cab00, 0xc0000aa000, 0xc000162000)
/usr/local/go/src/net/http/server.go:2807 +0xa3
net/http.(*conn).serve(0xc0001030e0, 0x7cb240, 0xc000058400)
/usr/local/go/src/net/http/server.go:1895 +0x86c
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2933 +0x35c