[go-nuts] secure oauth2 token set-up , storage & refresh for CLI tools

2024-11-22 Thread Tony M
Is there a library or reference-implementation for oauth token set-up, storage & refresh in golang. For example, my implementation is similar to the send-gmail tool by google (transforms sendmail CLI to gmail smtp requests, authenticated with oauth) https://github.com/google/gmail-oauth2-too

Re: [go-nuts] strip / reduce module compile size

2024-06-17 Thread Tony M
Are there other tools that may show the final size? I'd like to see if there are more aggressive flags to strip unused code? It's a simple module, with some grpc (protobuf), http . I don't believe all these code paths are in scope for my 200 LOC On Friday, June 14, 2024 at 6:20:37 PM UTC-7 Dan

[go-nuts] strip / reduce module compile size

2024-06-14 Thread Tony M
Thank you to github.com/jondot/goweight I was able to determine the compiled module sizes (below). Heavy hitters are net/http & protobufs, among 100+ others . Total compile size is 22MB . Are there any tools or flags that can help strip or reduce some of the compiled code from these modules?

[go-nuts] Re: Offline version of A Tour of Go

2024-04-24 Thread Tony M
thanks this was helpful. Is there a good rule of thumb when updating old "go get" instructions. e.g. Go Tour (googlesource.com)

[go-nuts] net.Listen -- How to listen to ipv6 & ipv4 local-loopback BUT NOT external interfaces

2024-01-10 Thread Tony M
How do I listen on all* local / loopback* ipv4 /ipv6 interfaces? net.Listen('tcp', ':') listens on all interfaces. For my application (oauth token listener) I only want to listen to local / loopback go doc Net.listen: * if the host in the address parameter is empty or a literalunspec

[go-nuts] Getting panic: proto: extension number 1042 is already registered on message google.protobuf.FileOptions

2023-12-24 Thread 'Roopan M' via golang-nuts
Hi Team, When I try to run the docker compose up, getting the below issue for one of the container related to proto buf extension. Please help to resolve, *service-cms-1| panic: proto: extension number 1042 is already registered on message google.protobuf.FileOptionsservice

[go-nuts] the example always fails if the string contains a trailing space before a newline

2022-12-19 Thread David M
Not quite sure if this is a bug but it's annoying: If the example tested string contains a trailing space before a newline, the test always fails no matter how. // this test passes func ExampleFormat() { fmt.Println("a\nb") // Output: // a // b } // this test fails no matter we

Re: [go-nuts] Go code owners: what are primary and secondary owners?

2022-11-09 Thread M Hickford
Presumably all primaries and secondaries are Go maintainers? -- 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, send an email to golang-nuts+unsubscr...@googlegroups.com. To view thi

Re: [go-nuts] Go code owners: what are primary and secondary owners?

2022-11-09 Thread M Hickford
On Wed, 9 Nov 2022 at 19:39, Ian Lance Taylor wrote: > > On Wed, Nov 9, 2022 at 11:28 AM M Hickford wrote: > > > > https://dev.golang.org/owners list primary and secondary owners, but > > doesn't explain what this means. What do primaries and secondaries do? > &

[go-nuts] Go code owners: what are primary and secondary owners?

2022-11-09 Thread M Hickford
https://dev.golang.org/owners list primary and secondary owners, but doesn't explain what this means. What do primaries and secondaries do? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails f

Re: [go-nuts] Golang import issue .

2022-07-19 Thread Gopal M
d123-4eab-b70e-02e0cdb05091n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Regards, M. Gopal -- 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, sen

Re: [go-nuts] Dynamically loading custom passes with gollvm?

2022-04-12 Thread Balamurugan M
Hi! Ohh! Yes please, that'll be very helpful for our experiments. Thank you so much. Regards On Mon, Apr 11, 2022, 2:50 PM Than McIntosh wrote: > Hello, > > At the moment gollvm doesn't support anything like the "-Xclang -load > -Xclang ...". > > It would not be too hard to add this though. Wa

[go-nuts] Re: First time contribution, unsure whether I need to open an issue or direct CL

2022-04-03 Thread Ramil M
I am sorry, I may have not made myself clear earlier. This code is valid and actually works fine for me. I was just thinking that this particular example is very specific, where you manipulate with bash, so that it forwards stdout to stderr in it's second command(echo 1>&2 stderr). So in this c

[go-nuts] First time contribution, unsure whether I need to open an issue or direct CL

2022-04-03 Thread Ramil M
Hi everyone, I want to make some example improvement suggestion in os/exec package. However I am not sure if I need to submit code change through Gerrit or post a new issue on GitHub first? Could you please advise? CombinedOutput Example

[go-nuts] Why the limit on regex repeat is 1000?

2021-06-05 Thread M Hasbini
Playground: https://play.golang.org/p/opVpDD5Ts8S Here's an example regex that fails to compile: `[a-zA-Z0-9]{1001,}` Here's where the 1000 is specified: https://github.com/golang/go/blob/4d9ecde/src/regexp/syntax/parse.go#L250 Other languages regex engine behavior: The regex is valid on all la

Re: [go-nuts] Re: C function return value of type float changes when used with COG

2021-02-03 Thread Robert M . Münch
So, problem solved!! The Yoga library uses C float NaN for control flow and as function parameters. The bindings (parts created with C-for-Go, and merged with some other parts I found) defined a totally scrappy Undefined constant. Setting this constant to math32.NaN() solved the problem. -- Y

Re: [go-nuts] Re: C function return value of type float changes when used with COG

2021-02-03 Thread Robert M . Münch
Well, it's a huge code-base, so I need to figure out how to nail it down to something manageable. What are the interesting parts? Maybe I can provide some more information pretty easily. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsub

Re: [go-nuts] Re: C function return value of type float changes when used with COG

2021-02-01 Thread Robert M . Münch
data as direct as possible. The functions prints the output as in my previous post. Ian Lance Taylor schrieb am Dienstag, 2. Februar 2021 um 00:58:01 UTC+1: > On Mon, Feb 1, 2021 at 1:52 PM Robert M. Münch > wrote: > > > > I know all about the problems of FP comparison, and yes I

[go-nuts] Re: C function return value of type float changes when used with COG

2021-02-01 Thread Robert M . Münch
oat > values > are almost equal > ASSERT_DOUBLE_EQ(val1, val2); EXPECT_DOUBLE_EQ(val1, val2);the two > double values are almost equal > > By "almost equal" we mean the values are within 4 ULP's from each other. > > What does testify do? > > Peter

[go-nuts] C function return value of type float changes when used with COG

2021-01-31 Thread Robert M . Münch
I have a C library with some test-cases (using googletest) that all pass. I created Go bindings for the C lib and converted the tests to testify format. Some Go test fails because a return value from the C function (type float) is different than expected. For example: ASSERT_FLOAT_EQ(10, GetHei

Re: [go-nuts] Any recommendation for structured logging library in Golang?

2020-11-17 Thread Gopal M
roup. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/OF42CB2A54.2706B41C-ON85258624.0027F1D3-85258624.00280B00%40no

[go-nuts] Re: How to install protoc-gen-go (Go protocol buffer compiler plugin) in windows ?

2020-04-04 Thread m . rostami9710
Thank you, the problem was the same and surprisingly it has solved by step 7. I have never seen this on a Linux box before, poor Windows. :) On Thursday, June 25, 2015 at 9:25:47 PM UTC+4:30, Joshua wrote: > > Here is the step by step directions: > >1. Download protoc-win32.zip from >h

[go-nuts] [ANN] go-resty v2.2.0 released - Simple HTTP and REST client library

2020-02-23 Thread Jeevanandam M.
Hello All - The package go-resty v2.2.0 released! Stable Version : github.com/go-resty/resty/v2 Release Notes : https://github.com/go-resty/resty/releases/tag/v2.2.0 Cheers, Jeeva -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe

Re: [go-nuts] [ANN] go-resty v2.1.0 released - Simple HTTP and REST client library

2019-10-11 Thread Jeevanandam M.
Thank you Sam for responding to the query. @Dimas - You could use Resty library via go mod as well as without it. If you would like to use Resty v2, it is exists on master so simple do "go get github.com/go-resty/resty". You will get v2 code base. If you would like to use it with go mod, you ne

[go-nuts] [ANN] go-resty v2.1.0 released - Simple HTTP and REST client library

2019-10-10 Thread Jeevanandam M.
Hello All - Stable Version : github.com/go-resty/resty/v2 Release Notes : https://github.com/go-resty/resty/releases/tag/v2.1.0 Cheers, Jeeva -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving e

[go-nuts] [ANN] go-resty v2.0.0 released - Simple HTTP and REST client library

2019-07-17 Thread Jeevanandam M.
Hello All - I'm pleased to announce release of Resty v2 ( https://github.com/go-resty/resty). Stable Version : github.com/go-resty/resty/v2 Release Notes : https://github.com/go-resty/resty/releases/tag/v2.0.0 Cheers, Jeeva -- You received this message because you are subscribed to the Google

[go-nuts] Include tests in binary and run them

2019-07-09 Thread farid . m . zakaria
We've written some diagnostic tests that we execute during the test phase (go test) however I was wondering if there's an established pattern for how to include tests in the final binary and execute them afterwards. The analogous version in Java would be that you could create a "test JAR" which

Re: [go-nuts] Is it possible to simplify this snippet?

2019-05-01 Thread Gopal M
unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > > > -- > You received this message because you are subscribed to the Google Groups > "golang-

Re: [go-nuts] Re: Packaging a Go module for Nix

2019-03-11 Thread Wael M. Nasreddine
On Mon, Mar 11, 2019 at 3:02 AM Manlio Perillo wrote: > On Monday, March 11, 2019 at 6:12:05 AM UTC+1, Wael Nasreddine wrote: >> >> On Sunday, March 10, 2019 at 6:44:10 PM UTC-7, Manlio Perillo wrote: >>> >>> On Monday, March 11, 2019 at 2:06:44 AM UTC+1, Wael Nasreddine wrote: >>>

Re: [go-nuts] Writing an Excel add-in using Go?

2019-01-22 Thread mrecht . m
Thanks! That's what I thought/feared.. On Tuesday, January 22, 2019 at 4:47:33 PM UTC+1, robert engels wrote: > > But it also depends on what you me by add-in - if it is just processing > Excel files, that’s one thing - if its a live data source I think the best > way is a network bridge - that’

Re: [go-nuts] Writing an Excel add-in using Go?

2019-01-22 Thread mrecht . m
Nothing as such.. What I would like to write, though. Is a Excel add-in having a ribbon and UDFs. And I am not sure how or if this is possible using COM from Go. On Tuesday, January 22, 2019 at 4:46:14 PM UTC+1, robert engels wrote: > > What is wrong with using COM from Go ? > > On Jan 22, 2019,

[go-nuts] Writing an Excel add-in using Go?

2019-01-22 Thread mrecht . m
Hi, I was wondering if there is a library supporting writing an Excel add-in in Go. Googling did not brought anything besides the Window COM support library. Therefore, the only way I could think of so far is writing a back-end service in Go and communicating with it using 0MQ/Nanomsg/... from

[go-nuts] Opinions on monorepo multi-module build strategy

2019-01-11 Thread dan . m . moore
Hello! I'm new to the go community and am not exactly sure where the correct place to post this is (here? gophers slack? golang reddit?), so please feel free to guide me in the right direction. I'm starting a new project/monorepo using modules and I'm looking for opinions on a build strateg

[go-nuts] [ANN] go-resty v1.11.0 released - Simple HTTP and REST client library

2019-01-06 Thread Jeevanandam M.
Production Version : gopkg.in/resty.v1 godoc : https://godoc.org/gopkg.in/resty.v1 Changelog: Enhancements * Add Content-Type application/json-rpc into Auto Unmarshaling support #203 @jeevatkm * Add Context() method into Request and consider logging prerequesthook updates in the d

[go-nuts] [ANN] THUMBAI v1.0.0-beta.2 Released! - A Go Mod Repository, Go Vanity Server and Proxy Server

2018-12-26 Thread Jeevanandam M.
Website: https://thumbai.app Documentation: Get Started - https://thumbai.app/docs/get-started Upgrade - https://thumbai.app/docs/upgrade Your feedback is very valuable. Thanks. Cheers, Jeeva -- You received this message because you are subscribed to the Google Groups "golang-nuts"

[go-nuts] mongodb driver for go

2018-12-14 Thread Badhmanaban M
Hi, is there any native mongodb driver for 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, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visi

[go-nuts] [ANN] THUMBAI v1.0.0-beta Released! - A Go Mod Repository, Go Vanity and Simple Proxy Server

2018-12-10 Thread Jeevanandam M.
Website: https://thumbai.app Documentation: https://thumbai.app/get-started Your feedback is very valuable. Thanks. Cheers, Jeeva -- 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,

[go-nuts] [ANN] aah Go web framework v0.12.0 Released!

2018-12-02 Thread Jeevanandam M.
Website: https://aahframework.org Documentation: https://docs.aahframework.org Release notes: https://docs.aahframework.org/v0.12/release-notes.html Your feedback is very valuable. Thanks. Cheers, Jeeva -- You received this message because you are subscribed to the Google Groups "golang-nuts"

[go-nuts] Need Help: Cross Compiling Go + Qt to Windows 64-bit Static

2018-11-11 Thread m . radhi . f
Hi guys, I've created an app using Go + Qt (repository in here ). The app itself is simple. It's just a QuickView that rendering a qml file, and I've succesfully build and run it on Linux. Since it works fine in Linux, I've decided to cross com

[go-nuts] [ANN] go-resty v1.10.0 released - Simple HTTP and REST client library

2018-10-22 Thread Jeevanandam M.
Production Version : gopkg.in/resty.v1 godoc : https://godoc.org/gopkg.in/resty.v1 Changelog: Enhancement * Debug log callback added to customize log info before logging it #180 #182 PR #186 @jeevatkm * Updated every reference to point to `gopkg.in/resty.v1` inline with go mod for

[go-nuts] Re: "go test" recompiling already-installed packages

2018-09-26 Thread armando . m . ramirez
I still have not gotten Go to reliably use the installed go-sqlite.a in all cases. However, I have found a workaround that is speeding up my builds. I found that GOCACHE was off, and after setting it, go-sqlite3 is compiled only once per nix-shell session. Re-entering nix-shell seems to cause

[go-nuts] "go test" recompiling already-installed packages

2018-09-25 Thread armando . m . ramirez
Hello, I've been playing around with one specific library and trying to speed up my build times. The library is https://github.com/mattn/go-sqlite3 which uses cgo and takes ~45sec to compile. I initially noticed that go build was being slow on packages that imported go-sqlite3, and top reveal

[go-nuts] [ANN] go-resty v1.9.0 released - Simple HTTP and REST client library

2018-08-24 Thread Jeevanandam M.
Production Version : gopkg.in/resty.v1 Edge Version : github.com/go-resty/resty godoc : https://godoc.org/github.com/go-resty/resty Changelog: Enhancement * Added `application/hal+json` content type support PR #171 #172 @kmanley * Made `IsJSONType` and `IsXMLTy

[go-nuts] [ANN] go-resty v1.5 released - Simple HTTP and REST client library

2018-05-06 Thread Jeevanandam M.
Production Version : gopkg.in/resty.v1 Edge Version : github.com/go-resty/resty godoc : https://godoc.org/github.com/go-resty/resty *Changelog:* *Enhancements:* - Added fallback gzip response handling #142 @jeevatkm - Added support for Bazel build PR #141 @paradoxengine - Te

[go-nuts] [ANN] go-resty v1.4 released - Simple HTTP and REST client library

2018-04-04 Thread Jeevanandam M.
Production Version : gopkg.in/resty.v1 Edge Version : github.com/go-resty/resty godoc : https://godoc.org/github.com/go-resty/resty Changelog: Enhancements: * Added support for RFC7807 - `application/problem+json` and `application/problem+xml` #134, #135 * Bufferless large file o

[go-nuts] [ANN] aah Go web framework v0.10 Released!

2018-03-28 Thread Jeevanandam M.
Hello All - I'm happy to announce, aah v0.10 have been released. Website: https://aahframework.org Release Notes: https://docs.aahframework.org/v0.10/release-notes.html Your feedback is very valuable. Thanks. Cheers, Jeeva -- You received this message because you are subscribed to the Goog

[go-nuts] Re: confusing a lock demo about https://golang.org/ref/mem#tmp_8

2018-03-14 Thread Subbu M
Hi, First Lock - starts the Lock and executes the following statements until next Mutex functions are called. Here Sync.Mutex I is gloabal, called Unlock in function f(). As said second lock starts after function f() is executed. regards Subbu On Tuesday, March 13, 2018 at 6:27:08 AM UTC-7, 郎凯 w

[go-nuts] [ANN] go-resty v1.3 released - Simple HTTP and REST client library

2018-03-01 Thread Jeevanandam M.
Production Version : gopkg.in/resty.v1 Edge Version : github.com/go-resty/resty godoc : https://godoc.org/github.com/go-resty/resty Changelog: Enhancements: - Custom content type and data for multipart request PR #129 @Asker80 - Debug log with concatenated st

[go-nuts] Re: [ANN] go-resty v1.1 released - Simple HTTP and REST client library

2018-01-28 Thread Jeevanandam M.
hen > I made a similar suggestion that in library design embedding exports all of > the embedded type’s methods, so you may have those named fields because of > that. > > Thanks, > Matt > > On Thursday, January 25, 2018 at 8:53:33 PM UTC-6, Jeevanandam M. wrote: >> >

[go-nuts] Re: [ANN] go-resty v1.1 released - Simple HTTP and REST client library

2018-01-25 Thread Jeevanandam M.
t struct. > > Some godoc identifier documentation is missing the period. The README.md > has many examples which may already be covered by godoc that are making it > longer than usual. > > Matt > > On Thursday, January 25, 2018 at 2:27:46 PM UTC-6, Jeevanandam M. wr

[go-nuts] [ANN] go-resty v1.1 released - Simple HTTP and REST client library

2018-01-25 Thread Jeevanandam M.
Stable Version : gopkg.in/resty.v1 Edge Version : github.com/go-resty/resty godoc : https://godoc.org/github.com/go-resty/resty Changelog: Features: * Added Request URL Path Params #103 @jeevatkm Enhancements: * Auto detects file content type in mutlipart/form-data mode #109, PR

[go-nuts] export json.Decoder offset method?

2017-12-15 Thread michael . m . spiegel
Hi folks, I was wondering if there is support for exporting the offset method of the encoding/json Decoder? The offset would be useful in cases where an error is reported during decoding. The json.SyntaxError and json.UnmarshalTypeError types export an Offset field but for other error types it

[go-nuts] crypto.Signer + Yubikey + SSH

2017-11-14 Thread farid . m . zakaria
I am curious if there's anyone that has tackled integrating Yubikey (PKCS#11) solution with crypto.Signer such that it can be plugged into ssh.NewSignerFromSigner (https://godoc.org/golang.org/x/crypto/ssh#Signer) -- You received this message because you are subscribed to the Google Groups "go

[go-nuts] Is something like SIMD "math/vector" planned?

2017-11-05 Thread David M.
Hi, I'm interested in high performance applications in Go, and I saw the new "math/bits" package. I think it's very nice that the compiler replaces the Go implementation with special CPU instructions when the architecture supports it. My question is, is there a plan to do something similar wit

[go-nuts] Re: Go vendoring question

2017-11-03 Thread Bobby M.
Speaking as a new Gopher, but I have had lots of experience with software dependencies. A tool like dep would be perfect for this. You could simply pin the one dependency until a fix is provided for the error, and for the others you can simply keep updating to the latest. This may not be the

Re: [go-nuts] Is iota increment behavior implemented here?

2017-10-15 Thread m
Great, thanks! On Sunday, October 15, 2017 at 11:09:08 PM UTC+3, rog wrote: > > Yes, that looks about right (the actual count increment is done on line > 316). > > On 15 October 2017 at 14:52, > wrote: > > Hi, > > > > I'm writing an article about iota and I've found that its counting > beha

[go-nuts] Iota with string constants

2017-10-15 Thread m
Is it anything wrong just assigning string values to get rid of String() method attaching? *Like this:* type Weekday string const ( Sunday Weekday = "Sunday" Monday Weekday = "Monday" ) func main() { fmt.Println(Sunday) } *Instead of this:* type weekday uint const ( Sunday weekday

[go-nuts] Is iota increment behavior implemented here?

2017-10-15 Thread m
Hi, I'm writing an article about iota and I've found that its counting behavior is implemented in the below source code? Am I right, if not, where it is? Can you help me? https://github.com/golang/go/blob/90d71fe99e21b68e292327c966946f1706d66514/src/cmd/compile/internal/gc/noder.go#L263 Thanks

[go-nuts] [ANN] aah web framework for Go, v0.9 Released

2017-10-04 Thread Jeevanandam M.
*Website:* https://aahframework.org *Documentation:* https://docs.aahframework.org *Release Notes:* https://docs.aahframework.org/v0.9/release-notes.html Please give it a try aah web framework and share your inputs. Your feedback is very valuable. Thanks. Cheers, Jeeva -- You received this me

[go-nuts] godoc only indexes packages in GOROOT?

2017-09-29 Thread farid . m . zakaria
Is there a reason why GODOC only indexes packages it finds in $GOROOT ? I would like to create indices of my personal packages + the standard library. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop recei

[go-nuts] [ANN] go-resty v1.0 released - simple HTTP and REST client library

2017-09-25 Thread Jeevanandam M.
Stable Version : gopkg.in/resty.v1 Edge Version : github.com/go-resty/resty godoc : https://godoc.org/github.com/go-resty/resty *v1.0 Released* Resty first version released on Sep 15, 2015 then it grew gradually as a very handy and helpful library. Its been a two years; v1.0 released o

[go-nuts] [ANN] aah web framework for Go, v0.8 Released

2017-09-01 Thread Jeevanandam M.
*Website:* https://aahframework.org *Documentation:* https://docs.aahframework.org *Release Notes:* https://docs.aahframework.org/v0.8/release-notes.html Please give it a try aah web framework and share your inputs. Your feedback is very valuable. Thanks. Cheers, Jeeva -- You received this me

Re: [go-nuts] Calling Julia from Go

2017-08-22 Thread mrecht . m
Unfortunately, Julia cannot be compiled to a library. At least not that I am aware of. What could be done is linking/loading the Julia runtime libraries. That is what the author of the linked article tried. Here he hit some road blocks due to how Julia and Go manipulate the stack - if I underst

Re: [go-nuts] Calling Julia from Go

2017-08-22 Thread mrecht . m
I would like to implement a pricing server. The pricings will be delivered by quants and should be changeable (scripted) without affecting the server architecture/ On Friday, August 18, 2017 at 1:17:43 AM UTC+2, kortschak wrote: > > What is it that you want to do in Julia? > > On Wed, 2017-08-

[go-nuts] Calling Julia from Go

2017-08-17 Thread mrecht . m
Hi, I would like to implement a valuation server. For the whole server infrastructure I would like to use Go, because it feels more natural than any other language for it. For the implementation of the valuations I would like to use Julia. Thus, using the aforementioned languages where (IMHO)

[go-nuts] [ANN] aah web framework for Go, v0.7 Released

2017-08-01 Thread Jeevanandam M.
Website: https://aahframework.org Documentation: https://docs.aahframework.org Release Notes: v0.7 https://docs.aahframework.org/release-notes.html Please give it a try aah web framework and share your inputs. Your feedback is very valuable. Thanks. Cheers, Jeeva -- You received this message

[go-nuts] [ANN] go-resty v0.13 released - simple HTTP and REST client library

2017-06-23 Thread Jeevanandam M.
Stable Version : gopkg.in/resty.v0 Edge Version : github.com/go-resty/resty godoc : https://godoc.org/github.com/go-resty/resty *Changelog:* - Added Retry timeouts shortcuts to default resty client PR #73 @bak1an - Do not set `X-User-Agent` in the request PR #77 @Robbilie

[go-nuts] Re: [ANN] aah web framework for Go, v0.6 Released

2017-06-12 Thread Jeevanandam M.
Thank you Szymon Pankalla. On Monday, June 12, 2017 at 4:44:38 AM UTC-7, Szymon Pankalla wrote: > > Very interesting ;) Good job. > > W dniu środa, 7 czerwca 2017 17:31:23 UTC+2 użytkownik Jeevanandam M. > napisał: >> >> *Website:* https://aahframework.or

[go-nuts] [ANN] aah web framework for Go, v0.6 Released

2017-06-07 Thread Jeevanandam M.
*Website:* https://aahframework.org *Documentation:* https://docs.aahframework.org *Release Notes:* v0.6 https://docs.aahframework.org/release-notes.html Please give it a try aah web framework and share your inputs. Your feedback is very valuable. Thanks. Cheers, Jeeva -- You received this me

[go-nuts] [ANN] go-model: v1.0 released - struct mapper and utility methods for Go

2017-05-22 Thread Jeevanandam M.
Stable Version: gopkg.in/jeevatkm/go-model.v1 Edge Version : github.com/jeevatkm/go-model Godoc : https://godoc.org/github.com/jeevatkm/go-model *Changelog:* - Code improvements - API Freeze and published v1.0 I appreciate your support & feedback! Cheers, Jeeva -- You r

[go-nuts] [ANN] go-resty v0.12 released - simple HTTP and REST client library

2017-05-22 Thread Jeevanandam M.
*Stable Version :* gopkg.in/resty.v0 *Edge Version :* github.com/go-resty/resty *Godoc :* https://godoc.org/github.com/go-resty/resty *Changelog:* *Enhancement(s):* - Added SetRetryWaitTime and SetRetryMaxWaitTime methods to set custom wait time PR #66 @bak1an - Added Se

[go-nuts] [ANN] aah framework v0.5.1 Released

2017-05-21 Thread Jeevanandam M.
Official website: https://aahframework.org Documentation: https://docs.aahframework.org Changelog v0.5.1: - Possibility of directory traversal vulnerability on Static File delivery - Thanks to Chris Stockton

[go-nuts] [ANN] aah framework v0.5 - First public release

2017-05-19 Thread Jeevanandam M.
Hello Everyone - I'm very glad to announce the first public release of aah web framework for Go. v0.5 comes with an initial set of features. Gradually I will be adding more features and enhancements following the roadmap. Please try it out and let me know what you think, your feedback is very

[go-nuts] Using net/http/httptest with HTTP/2

2017-03-30 Thread eric . chiang . m
Hello gophers, I'm trying to set up an httptest example that also uses HTTP/2 and it's way harder then I expected. As an example I wrote the following test using Go 1.8: package main import ( "crypto/tls" "fmt" "net/http" "net/http/httptest" "strings" "testing" "golang.org/x/net/http2" ) fun

[go-nuts] [ANN] go-resty v0.11 release - simple HTTP and REST client library

2017-03-20 Thread Jeevanandam M.
Stable Version : gopkg.in/resty.v0 Edge Version : https://github.com/go-resty/resty godoc : https://godoc.org/github.com/go-resty/resty *This release brings following:* *Releases Notes:* https://github.com/go-resty/resty/releases/latest *Feature:* - Request based on SRV record sup

Re: [go-nuts] Re: -ldflags -X

2017-01-26 Thread Arafath M
Hi Eric, Under Windows, create a bat file with following contents. It uses latest tag from git repo as version. echo Rebuilding App... for /f %%i in ('git describe --tags ') do set version=%%i go install -a -v -ldflags "-X main.versionBuild=%version%" Sincerely, Arafa

[go-nuts] [ANN] go-model: v0.5 release - struct mapper and utility methods for Go

2017-01-02 Thread Jeevanandam M.
go-model: https://github.com/jeevatkm/go-model godoc: https://godoc.org/github.com/jeevatkm/go-model This release brings following features and enhancements: - Added `model.Get` and `model.Set` by field name - Added Mixed Types mapping support `model.AddConversion`, `model.AddConversio

[go-nuts] [ANN] go-resty v0.10 release - simple HTTP and REST client library

2017-01-02 Thread Jeevanandam M.
go-resty: https://github.com/go-resty/resty godoc : https://godoc.org/github.com/go-resty/resty This release brings following: - Added `Request.SetContext` for go1.7 and above - Fix request body issue on retry - Code quality improvements golint, errcheck, etc - Only breaking change

[go-nuts] NPN disabled in chrome

2016-12-29 Thread m . zirakit
today I noticed my project stopped to serve http/2 and serves http/1.1 after lots of search I found this: https://ma.ttias.be/day-google-chrome-disables-http2-nearly-everyone-may-31st-2016/ and I noticed http2.golang.org stopped working correctly like my project in chrome v55 for Windows. I wa

[go-nuts] [ANN] SCL, a language that extends the Hashicorp Configuration Language in the same sort of way Sass extends CSS

2016-11-10 Thread Paul M Fox
GitHub repo: https://github.com/homemade/scl Language reference: https://github.com/homemade/scl/wiki GoDoc: https://godoc.org/github.com/homemade/scl The Sepia Configuration Language is a simple, declarative, semi-functional, self-documenting language that extends HashiCorp's HCL

[go-nuts] [ANN] go-resty v0.9 release - simple HTTP and REST client library

2016-11-01 Thread Jeevanandam M.
go-resty: https://github.com/go-resty/resty godoc : https://godoc.org/github.com/go-resty/resty This release brings following enhancements: - Backoff Retry mechanism PR #35 #24 @keithballdotnet - Conditional Retry on backoff mechanism PR #42 #37 @d

Re: [go-nuts] Re: Go interface

2016-10-28 Thread Arafath M
Thanks for the replies. Sincerely, Arafath M On Fri, Oct 28, 2016 at 6:25 AM, Henry wrote: > Hi, > > I usually use the following pattern when creating a type. In your case, it > would be as follows: > > interface Animal { > Eat() > Travel() > } > &

Re: [go-nuts] Freetype performance

2016-10-28 Thread David M.
cB/s1600/Captura%2Bde%2Bpantalla%2Bde%2B2016-10-28%2B17-03-20.png> I call measure string around 3 times per line because the text is colored and I need to know what pixels should I color. El miércoles, 26 de octubre de 2016, 7:20:30 (UTC+2), Nigel Tao escribió: > > On Tue, Oct 25, 2016 at

Re: [go-nuts] Re: Go interface

2016-10-27 Thread Arafath M
ver.go:2560:6:is implemented by pointer type *timeoutWriter C:\Go\src\net\http\cookie_test.go:128:6:is implemented by map type headerOnlyResponseWriter C:\Go\src\io\io.go:90:6:implements io.Writer Sincerely, Arafath M On Thu, Oct 27, 2016 at 12:50 PM, Volker Dobler wrote: &

[go-nuts] Go interface

2016-10-27 Thread Arafath M
ublic void travel() { System.out.println("Mammal travels"); } public int noOfLegs() { return 0; } public static void main(String args[]) { MammalInt m = new MammalInt(); m.eat(); m.travel(); } } By seeing the above line "*public class Mamm

[go-nuts] Freetype performance

2016-10-25 Thread David M.
Hi, I'm using Go freetype (https://github.com/golang/freetype) for a 3D app using OpenGL. At each frame one portion of the text displayed changes, so I call DrawString() and upload the new image to OpenGL. After some profiling I know that the program runs at 350fps without the DrawString() cost

Re: [go-nuts] ARM server board

2016-10-23 Thread Ibrahim M. Ghazal
Is there a reason you specifically want ARM? For $400 you could get a quite decent Intel Core i3 or i5 computer with upgradable RAM and SSD. See for example: - Intel NUC: http://www.intel.com/buy/us/en/catalog/components/nuc - "scooter" computers: https://blog.codinghorror.com/the-scooter-computer

[go-nuts] Namespacing hack using method on empty type

2016-08-03 Thread dani . m . mobile
Hi all, just saw a piece of software that make large use of methods defined on (basically) empty structs as a namespacing hack. Example: type Foo struct { } func NewFoo() Foo { return Foo{} } var ( foo = NewFoo() ) func (self Foo) Bar1 () { } func (self Foo) Bar2 () { } This way I can

[go-nuts] [ANN] go-resty v0.8 release - simple HTTP and REST client library

2016-07-08 Thread Jeevanandam M.
go-resty: https://github.com/go-resty/resty godoc : https://godoc.org/github.com/go-resty/resty This release brings following enhancements: - Added method `SetMultiValueQueryParams` for multi value query params #28 - Added method `SetScheme` for non-http scheme option PR #30 - Adde

[go-nuts] Re: GUI for Go

2016-07-01 Thread Rio M
I hope for project based on Javascript+Golang server (like http://electron.atom.io/). -- 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, send an email to golang-nuts+unsubscr...@go

[go-nuts] Treeless: distributed NoSQL key-value DB written in Go

2016-06-21 Thread David M.
Hi, I've just released Treeless (https://github.com/dv343/treeless), a new distributed NoSQL key-value DB written in Go. I have been focused on performance and simplicity and I think I have achieved good results. For example, Get performance is 20% slower compared to Redis, but Set performance