Tweetovi
- Tweetovi, trenutna stranica.
- Tweetovi i odgovori
- Medijski sadržaj
Blokirali ste korisnika/cu @filipcodes
Jeste li sigurni da želite vidjeti te tweetove? Time nećete deblokirati korisnika/cu @filipcodes
-
My experience with
#golang taught me this: if your#programming language has a popular code formatting tool - use it, and use it *with the default settings*. The benefits of a single code formatting standard trump any subjective aesthetic preference in that regard.Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
A super simple testrunner for
#golang. Just run it in the root of a Go project and it will automatically run tests for a package when one of the ".go" files in that package has been modified. Yeah, I know, no tests (yet)...
https://github.com/fwojciec/testrunner …Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Part 2 of my series about building
#GraphQL servers in#golang. This post is all about dataloaders.https://w11i.me/graphql-server-go-part2-dataloaders …Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Filip Wojciechowski proslijedio/la je Tweet
#golang Top Tip: the first line of every unit test should be t.Parallel(). If that doesn't work in your package, fixing it will uncover and resolve a lot of design errors.Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
This is a great post about isolating
#PostgreSQL tests in#golang: https://conroy.org/per-test-database-isolation-in-postgres …Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
I started using optional *Config structs in
#golang constructor functions. When config is nil the default values are used; a defined config enables customization of the instance (to pass a mocked dependency for testing, etc.). Are there other good approaches to achieve this?pic.twitter.com/bval2BOfJu
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Filip Wojciechowski proslijedio/la je Tweet
Join the first 2020 Golang Warsaw meetup on 15.01. We have two talks on Go developement in the CloudNative environment, unique Golang-10th-anniversary pins for attendees, and JetBrains licenses for good questions. Looking forward to seeing you all! https://www.meetup.com/Golang-Warsaw/events/267210686/ …pic.twitter.com/888Y7sEvVk
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
I just published Let’s Build a
#GraphQL Server: Part 1 in#golang on Medium:https://link.medium.com/sDEm0inYZ2Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
The first in a planned series of posts about building a
#GraphQL server in#golang using code generation approach and - gqlgen by@99designs to generate the server - sqlc by@kyle_conroy to generate the database code.https://w11i.me/graphql-server-go-part1 …Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Filip Wojciechowski proslijedio/la je Tweet
Did you know that json.NewDecoder(reader).Decode(&v) is inherently wrong in
#golang? Me neither.https://github.com/golang/go/issues/36225 …Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Part 4: Testing x testing database CRUD x testing resolvers x testing dataloaders x testing middleware
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Part 3: Authentication/Authorization x User schema/queries/resolvers x authentication x add auth mutations/queries to the GQL schema x wire up the new resolvers x issue token pair (access/refresh) x validating tokens x gqlgen directives configuration x authentication middleware
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Part 2: Dataloaders x what are dataloaders and why do we need them? x
#dataloaden workflow x dataloader logic x one-to-many queries (two directions?) x many-to-many queries x dataloader interface x dataloader middlewarePrikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
example server built using this approach (work in progress), I will write a blog post about it soon:https://github.com/fwojciec/litag
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
My new favorite way to write
#GraphQL servers in#Golang: 1. generate resolvers from graphql schema using#gqlgen 2. generate database code from sql schema/queries using#sqlc 3. generate dataloaders (if needed) using#dataloaden 4. Write some glue code. Code generation FTW!
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Halcyon Theme for
#vscode by@bchiang7 is really, really excellent.pic.twitter.com/zEBJRfMtez
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
This will likely be obvious to experienced gophers, but it took me some time to figure out, so I wrote a blog post about it -- how to implement a random ticker in
#golang. Comments and criticisms are welcome - I'm still learning!https://w11i.me/random-ticker-in-go …Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Cool
#neovim trick -- add this to your config file for customized cursor shapes in different modes. This setting makes it more intuitive to track what mode you're currently in.pic.twitter.com/duzPJzGBQN
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.