[go-nuts] What is the best way to redirect naked domains to a subdomain?

2018-01-30 Thread Andrew O'Neill
I would like to do this in go and was wondering if my approach is good enough or if there is a better way. Below is the example code and a playground link https://play.golang.org/p/wLzmOFMrudP Andrew const ( domain= "example.com" wwwdomain = "www." + domain ) mux := http.NewServeMux()

Re: [go-nuts] Re: How to read multi-page TIFF image?

2017-09-24 Thread Andrew O'Neill
A while ago I reading Adobe's doc's on SubIFD's since that is needed for decoding Nikon's RAW files. Is this a similar thing or is it just reading all the IFD's? I plan to implement a SubIFD decoder for tiff, unless someone else has done it. On Sun, Sep 24, 2017 at 8:21 PM Tad Vizbaras wrote: >

Re: [go-nuts] Re: How to read multi-page TIFF image?

2017-09-25 Thread Andrew O'Neill
25, 2017 at 7:10:40 AM UTC-4, Tad Vizbaras wrote: >> >> If you implement decoder I can provide sample multi-page TIFF files to >> see if it is working. >> >> On Sunday, September 24, 2017 at 2:48:50 PM UTC-4, Andrew O'Neill wrote: >>> >>> A

[go-nuts] Curious why GOBIN can not be set for cross compiling?

2019-06-25 Thread Andrew O'Neill
I attempted to run the following command from a mac laptop (GOOS=darwin) GOBIN=/path/to/my/dir GOOS=linux go install github.com/golang/protobuf/protoc-gen-go I get an error that go cannot install cross-compiled binaries when GOBIN is set. Is there a technical limitation or is it just not implem

[go-nuts] TestMissingGOPATHGetWarnsIfNotExists is failing for me behind a proxy on go1.8beta1

2016-12-01 Thread Andrew O'Neill
I ran "./all.bash" on go1.8beta1 from my work machine and the test TestMissingGOPATHGetWarnsIfNotExists failed. The proxy settings are correct for git but not set in my environment. The output is below. Not sure why it's ignoring my git proxy settings. [01:22:26]x7qj@M00973465:src$ git config -