go + go postgresql Named arguments · Issue #387 · jackc/pgx · GitHubIt would be useful to support named arguments in queries instead of only $x placeholders. SQL queries would look like this: SELECT [...] FROM table WHERE foo=:arg; INSERT INTO table [...] VALUES(:name, :foo, :bar); And then we could do s... wono | discuss | tweet + go regexp syntax package - regexp/syntax - Go PackagesPackage syntax parses regular expressions into parse trees and compiles parse trees into programs. wono | discuss | tweet + go replace regex - How to replace occured strings with a counter in Go regexp? - Stack OverflowFor example, in this sentence, Let freedom ring from the mighty mountains of New York. Let freedom ring from the heightening Alleghenies of Pennsylvania. Let freedom ring from the snow-capped Roc... wono | discuss | tweet + go sqlx Go database/sql vs jmoiron/sqlx reading benchmark | DSkrzypiec Blog wono | discuss | tweet + go roundtripper Diving deep into net/http : A look at http.RoundTripper | Lanre AdelowoLearn how to perform some operations before a request is processed in Go wono | discuss | tweet + go Go net/http에서 tls: no renegotiation error 해결하기에러의 내용을 요약하면 아래와 같습니다. renegoriation 미설정으로 인한 발생이네요. local error: tls: no renegotiation dalfox 릴리즈 후 처음으로 이슈올라온 내용입니다. 다른 언어에서는 기본적으로 설정되어 있어서, 크게 신경쓰지 않았었는데, go의 경우 기본으로 포함되지 않기 때문에(샘플이나 튜토리얼등에서의 언급이..) 자주 실수할 수 있는 부분으로 보입니다. What is SSL renegoriation? 기존 보안 세션 내에서 새 핸드쉐이크 협상을 시작하는 것을 재협상이라고 부릅니다. SSL 사용 중 클라이언트 인증이나, 암호화 관련 정보(알고리즘/키 등등)의 변경이 있는 경우 새로 세션을 맺어야하는데 이 때 renegoriation, 즉 재협상을 사용해야합니다. wono | discuss | tweet + golang go printf pointer go - golang how to print struct value with pointer - Stack Overflowpackage main import "fmt" type A struct { a int32 B *B } type B struct { b int32 } func main() { a := &A{ a: 1, B: &B{ b: 2, }, } ... wono | discuss | tweet + go golang merge map dictionary - How can I merge two maps in go? - Stack OverflowI have a recursive function that creates objects representing file paths (the keys are paths and the values are info about the file). It's recursive as it's only meant to handle files, so if a dire... wono | comment (1) | tweet + go golang errors errors package - errors - pkg.go.devPackage errors implements functions to manipulate errors. wono | discuss | tweet + go golang map Go maps in action - The Go Programming LanguageHow and when to use Go maps. wono | discuss | tweet + go golang time diff time - Calculate number of days between two dates? - Stack OverflowHow can I calculate the number of days between two dates? In the code below I should get the number of hours, which means that I should only need to divide by 24. However, the result I get is som... wono | comment (1) | tweet + go token jwt refresh JWT auth in Go Part 2 — Refresh Tokens | by Tanveer Hassan | Monstar Lab Bangladesh Engineering | MediumAuthentication tokens generally come in pairs. Access and Refresh tokens. I have talked about basic JWT authentication using access tokens in a previous article. This is a continuation of that… wono | discuss | tweet + go golang tls So you want to expose Go on the Internet | Gopher Academy BlogBack when crypto/tls was slow and net/http young, the general wisdom was to always put Go servers behind a reverse proxy like NGINX. That’s not necessary anymore! wono | discuss | tweet + go golang http Go/Golang HTTP 성능 튜닝 — { DEV SWEETER ; }Go는 아주 쉽고 빠르게 HTTP 기능들을 구현할 수 있지만 성능 요구사항이 높아지다 보면 TIME_WAIT 등 자주 접하는 문제들이 있으며 자연스럽게 Go HTTP 튜닝 방법을 찾게 됩니다. 이번 포스팅에선 일반적인 Go.. wono | discuss | tweet + go colly scraper GitHub - gocolly/colly: Elegant Scraper and Crawler Framework for GolangElegant Scraper and Crawler Framework for Golang. Contribute to gocolly/colly development by creating an account on GitHub. wono | discuss | tweet + go golang map xml Marshall map to XML in Go - Stack OverflowI'm trying to output a map as XML data, however I receive the following error: xml: unsupported type: map[string]int Marshalling maps works fine for JSON so I don't get why it wouldn't work the ... wono | comment (1) | tweet
+ go postgresql Named arguments · Issue #387 · jackc/pgx · GitHubIt would be useful to support named arguments in queries instead of only $x placeholders. SQL queries would look like this: SELECT [...] FROM table WHERE foo=:arg; INSERT INTO table [...] VALUES(:name, :foo, :bar); And then we could do s... wono | discuss | tweet
+ go regexp syntax package - regexp/syntax - Go PackagesPackage syntax parses regular expressions into parse trees and compiles parse trees into programs. wono | discuss | tweet
+ go replace regex - How to replace occured strings with a counter in Go regexp? - Stack OverflowFor example, in this sentence, Let freedom ring from the mighty mountains of New York. Let freedom ring from the heightening Alleghenies of Pennsylvania. Let freedom ring from the snow-capped Roc... wono | discuss | tweet
+ go roundtripper Diving deep into net/http : A look at http.RoundTripper | Lanre AdelowoLearn how to perform some operations before a request is processed in Go wono | discuss | tweet
+ go Go net/http에서 tls: no renegotiation error 해결하기에러의 내용을 요약하면 아래와 같습니다. renegoriation 미설정으로 인한 발생이네요. local error: tls: no renegotiation dalfox 릴리즈 후 처음으로 이슈올라온 내용입니다. 다른 언어에서는 기본적으로 설정되어 있어서, 크게 신경쓰지 않았었는데, go의 경우 기본으로 포함되지 않기 때문에(샘플이나 튜토리얼등에서의 언급이..) 자주 실수할 수 있는 부분으로 보입니다. What is SSL renegoriation? 기존 보안 세션 내에서 새 핸드쉐이크 협상을 시작하는 것을 재협상이라고 부릅니다. SSL 사용 중 클라이언트 인증이나, 암호화 관련 정보(알고리즘/키 등등)의 변경이 있는 경우 새로 세션을 맺어야하는데 이 때 renegoriation, 즉 재협상을 사용해야합니다. wono | discuss | tweet
+ golang go printf pointer go - golang how to print struct value with pointer - Stack Overflowpackage main import "fmt" type A struct { a int32 B *B } type B struct { b int32 } func main() { a := &A{ a: 1, B: &B{ b: 2, }, } ... wono | discuss | tweet
+ go golang merge map dictionary - How can I merge two maps in go? - Stack OverflowI have a recursive function that creates objects representing file paths (the keys are paths and the values are info about the file). It's recursive as it's only meant to handle files, so if a dire... wono | comment (1) | tweet
+ go golang errors errors package - errors - pkg.go.devPackage errors implements functions to manipulate errors. wono | discuss | tweet
+ go golang map Go maps in action - The Go Programming LanguageHow and when to use Go maps. wono | discuss | tweet
+ go golang time diff time - Calculate number of days between two dates? - Stack OverflowHow can I calculate the number of days between two dates? In the code below I should get the number of hours, which means that I should only need to divide by 24. However, the result I get is som... wono | comment (1) | tweet
+ go token jwt refresh JWT auth in Go Part 2 — Refresh Tokens | by Tanveer Hassan | Monstar Lab Bangladesh Engineering | MediumAuthentication tokens generally come in pairs. Access and Refresh tokens. I have talked about basic JWT authentication using access tokens in a previous article. This is a continuation of that… wono | discuss | tweet
+ go golang tls So you want to expose Go on the Internet | Gopher Academy BlogBack when crypto/tls was slow and net/http young, the general wisdom was to always put Go servers behind a reverse proxy like NGINX. That’s not necessary anymore! wono | discuss | tweet
+ go golang http Go/Golang HTTP 성능 튜닝 — { DEV SWEETER ; }Go는 아주 쉽고 빠르게 HTTP 기능들을 구현할 수 있지만 성능 요구사항이 높아지다 보면 TIME_WAIT 등 자주 접하는 문제들이 있으며 자연스럽게 Go HTTP 튜닝 방법을 찾게 됩니다. 이번 포스팅에선 일반적인 Go.. wono | discuss | tweet
+ go colly scraper GitHub - gocolly/colly: Elegant Scraper and Crawler Framework for GolangElegant Scraper and Crawler Framework for Golang. Contribute to gocolly/colly development by creating an account on GitHub. wono | discuss | tweet
+ go golang map xml Marshall map to XML in Go - Stack OverflowI'm trying to output a map as XML data, however I receive the following error: xml: unsupported type: map[string]int Marshalling maps works fine for JSON so I don't get why it wouldn't work the ... wono | comment (1) | tweet