Re: [go-nuts] Re: using docker for compiling

2019-02-07 Thread akshita babel
And FYI the folder is in local system and API is on server and hence the path thing will not work, we need to send the object to API On Fri, Feb 8, 2019 at 11:09 AM akshita babel wrote: > How can I take a folder as an input in my go api and know the relative > path or absolute path o

Re: [go-nuts] Re: using docker for compiling

2019-02-07 Thread akshita babel
How can I take a folder as an input in my go api and know the relative path or absolute path of each file in each folder On Fri, Feb 8, 2019 at 7:12 AM David Riley wrote: > Yes, but we have somewhat different objectives than you might. > > We use the Docker golang (alpine) image to build our ima

Re: [go-nuts]

2018-12-13 Thread akshita babel
gt; > See https://golang.org/pkg/io#Reader and > https://golang.org/pkg/io/ioutil#ReadAll > > > On Thu, 13 Dec 2018 at 12:01, akshita babel > wrote: > >> Hey, can anyone guide me on how to take octet stream as input in API >> and/or how to convert octet stream

[go-nuts]

2018-12-13 Thread akshita babel
Hey, can anyone guide me on how to take octet stream as input in API and/or how to convert octet stream to byte array using golang -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, s

Re: [go-nuts] Go offline development recommendations

2018-12-13 Thread akshita babel
Hey, can anyone guide me on how to take octet stream as input in API and/or how to convert octet stream to byte array using golang On Thu, Dec 13, 2018 at 5:14 PM snmed wrote: > I'm not sure if i fully understand your point on "vetted binaries", but if > every source code is vetted and then tran

Re: [go-nuts] Run time error

2018-09-18 Thread akshita babel
; request is causing the crash. > > -Agniva > > On Tuesday, 18 September 2018 10:22:39 UTC+5:30, akshita babel wrote: >> >> But this is code is perfectly working in windows and when i am trying to >> run this on ubuntu it is giving the above error. >> >> On Tue,

Re: [go-nuts] Run time error

2018-09-17 Thread akshita babel
ode doesn't show usage of that library. > Somewhere in there you must have a nil pointer to a RequestBuilder, on > which Send() is being called. > > On Tue, Sep 18, 2018, 3:42 AM akshita babel > wrote: > >> When I am running a program which is for a web response I a

[go-nuts] Run time error

2018-09-17 Thread akshita babel
When I am running a program which is for a web response I am getting a run time error as follows: http: panic serving 127.0.0.1:43802: runtime error: invalid memory address or nil pointer dereference goroutine 6 [running]: net/http.(*conn).serve.func1(0xc4200a4a00) /usr/lib/go-1.10/src/net/http