Tag go
Do I know anyone doing #Go that handles go get
on their production API URL, and it then resolves the SDK with that base URL? I can see this being a fairly straightforward thing to do based on the ?go-get=1
, but wondering how this would work for applications deployed to different environment, but built from the same source code π€
Post details
So, GitHub just got bought by Microsoft and this got me and a bunch of people thinking about the dependence of Go on GitHub as a piece ofβ¦
Post details
Introduction If you have been working with Go programming language for a while, you would have noticed that a lot of open source packages that you import start with github.com/β¦. You would then use go get command to download the package and add it to your go.mod file. For instance: $ go get -u github.com/abvarun226/goiplookup What if you did not want this dependency on Github and rather wanted to host your own git server?
Converting a Byte Array to String from a Node.JS Buffer
, in Go (1 mins read).
How to convert an array of bytes to a string using Go.
Post details
Implementation of various JWx (Javascript Object Signing and Encryption/JOSE) technologies - GitHub - lestrrat-go/jwx: Implementation of various JWx (Javascript Object Signing and Encryption/JOSE) ...
Post details
Gin middleware for session management. Contribute to gin-contrib/sessions development by creating an account on GitHub.
Post details
The Go 1 runtime is quasi-deprecated and as a user it is very easy to substitute it with the custom runtime. Literally just name your binary "bootstrap" and it works! AWS does a bad job communicating this.
Johannes Gehrs π₯ (@jogehrs)Tue, 12 Apr 2022 04:35 +0000
Parsing the Cookie
and Set-Cookie
headers with Go (2 mins read).
How to parse the value of a Cookie
or Set-Cookie
header to a JSON object.
Generating a Go HTTP Client from OpenAPI schemas (2 mins read).
How to generate a Go HTTP client really quickly and easily, with no manual work, using the oapi-codegen project.
Generating Go structs from OpenAPI schemas (2 mins read).
How to generate Go structs really quickly and easily, with no manual work, using the oapi-codegen project.
Post details
Generate Go client and server boilerplate from OpenAPI 3 specifications - GitHub - deepmap/oapi-codegen: Generate Go client and server boilerplate from OpenAPI 3 specifications
Setting up GitLab CI for Go projects (2 mins read).
How to set up a basic set of automated builds for Go projects on GitLab CI, for modern Go projects.
Post details
Convert go test output to junit xml. Contribute to jstemmer/go-junit-report development by creating an account on GitHub.
Providing a basic implementation of Ruby's ARGF.read
in Go (2 mins read).
Creating a Go helper method to read from stdin
or a file, inspired by Ruby's ARGF.read
method.
I've recently been doing similar with some of my utilities, albeit with an informal comparison between Ruby and Go versions, but would agree that for large, production critical scrips, this is a great way to do it
Introducing a Go command-line tool for interacting with Micropub servers (1 mins read).
Announcing the initial release of micropub
, a CLI for interacting with Micropub servers.
Gotcha: Segfault when HTTP headers include newlines with Go (2 mins read).
Why you may be receiving a segfault when using http.Client
with HTTTP headers that include newlines.
Converting Spring Boot Property Variables to Environment Variables with Go (1 mins read).
A command-line script to convert a Spring Boot property to an environment variable.
Pretty Printing JSON Web Tokens (JWTs) on the Command Line using Go (2 mins read).
How to easily introspect and pretty print a signed JWT (JWS) or an encrypted JWT (JWE) on the command line using Go.
Gotcha: Field casing is important when marshalling struct
s to JSON in Go (2 mins read).
Why you may be missing fields from your struct
s in your Go json.Marshal
calls.
Pretty Printing JSON on the Command Line with Go (1 mins read).
Using Go's JSON module to pretty print JSON objects from the command line.
Reading all of stdin
on the command-line with Go (1 mins read).
How to read the whole of stdin
, up to EOF, with Go.
Appending to a Querystring using Go (1 mins read).
How to append query parameters in a URL in Go.
Post details
Go is one of my favorite programming languages, but it is still far from perfect.
Post details
What is a map[string]interface{} in Go, and why is it so useful? How do we deal with maps of string to interface{} in our programs? What the heck is an interface{}, anyway? Let's find out, with renowned Go teacher John Arundel, aka @bitfield.
Building an Automagically Updating Personal README for GitLab and GitHub (2 mins read).
Announcing the publishing of readme.jvt.me as well as automagically updating READMEs in my GitLab and GitHub profiles.
You're currently viewing page 6 of 6, of 289 posts.