Did you know in few lines of code you can encode to json and decode from json to go type. here is how. #golang #golangtutorial #golang_tips

AjayMaharYT's tweet image. Did you know in few lines of code you can encode to json and decode from json to go type.
here is how.
#golang #golangtutorial #golang_tips

Did you know in few lines of code you can encode to json and decode from json to go type. here is how. #golang #golangtutorial #golang_tips

AjayMaharYT's tweet image. Did you know in few lines of code you can encode to json and decode from json to go type.
here is how.
#golang #golangtutorial #golang_tips

이미지 도트화 간단 팁. 1.FilterGallery-Poster Edge로 외곽선 강조. 2. Filter-Cutout으로 색과 모양 단순화. 3. Image Size - Resample(Nearest Neighbor)로 픽셀화 효과.

madumpa's tweet image. 이미지 도트화 간단 팁. 1.FilterGallery-Poster Edge로 외곽선 강조. 2. Filter-Cutout으로 색과 모양 단순화. 3. Image Size - Resample(Nearest Neighbor)로 픽셀화 효과.
madumpa's tweet image. 이미지 도트화 간단 팁. 1.FilterGallery-Poster Edge로 외곽선 강조. 2. Filter-Cutout으로 색과 모양 단순화. 3. Image Size - Resample(Nearest Neighbor)로 픽셀화 효과.
madumpa's tweet image. 이미지 도트화 간단 팁. 1.FilterGallery-Poster Edge로 외곽선 강조. 2. Filter-Cutout으로 색과 모양 단순화. 3. Image Size - Resample(Nearest Neighbor)로 픽셀화 효과.
madumpa's tweet image. 이미지 도트화 간단 팁. 1.FilterGallery-Poster Edge로 외곽선 강조. 2. Filter-Cutout으로 색과 모양 단순화. 3. Image Size - Resample(Nearest Neighbor)로 픽셀화 효과.

ok new favorite use case for AI.....tab completing this in golang.

myleshyson's tweet image. ok new favorite use case for AI.....tab completing this in golang.

sort.Slice in #golang 1.8 is really useful 😂

deeeet's tweet image. sort.Slice in #golang 1.8 is really useful 😂

🦀@rustlang trick: ✨ You can make array repeat expressions work for *non-Copy types*, by using a const for the value:

m_ou_se's tweet image. 🦀@rustlang trick: ✨

You can make array repeat expressions work for *non-Copy types*, by using a const for the value:
m_ou_se's tweet image. 🦀@rustlang trick: ✨

You can make array repeat expressions work for *non-Copy types*, by using a const for the value:

Red Team Tip: If you use the go payload in veil, make sure to add -gcflags=-trimpath=/var/lib/veil -asmflags=-trimpath=/var/lib/veil or your payload will contain lots of "veil" strings. Funny that AV developers didn't wrote a signature for this yet.

ReneFreingruber's tweet image. Red Team Tip: If you use the go payload in veil, make sure to add -gcflags=-trimpath=/var/lib/veil -asmflags=-trimpath=/var/lib/veil or your payload will contain lots of "veil" strings. Funny that AV developers didn't wrote a signature for this yet.

115 KiB of our binary is #golang compiler-generated equality funcs for structs used as value types. Make it all go away with this one dirty trick: Make your struct types not comparable by adding an unnamed 0-sized array of func pointers. Now it can't ==: _ [0]func() 🤮 🤷‍♂️

bradfitz's tweet image. 115 KiB of our binary is #golang compiler-generated equality funcs for structs used as value types.

Make it all go away with this one dirty trick:

Make your struct types not comparable by adding an unnamed 0-sized array of func pointers. Now it can't ==:

   _ [0]func()

🤮 🤷‍♂️
bradfitz's tweet image. 115 KiB of our binary is #golang compiler-generated equality funcs for structs used as value types.

Make it all go away with this one dirty trick:

Make your struct types not comparable by adding an unnamed 0-sized array of func pointers. Now it can't ==:

   _ [0]func()

🤮 🤷‍♂️

go-diagrams: Create Beautiful System Diagrams with Go - github.com/blushft/go-dia…

golangweekly's tweet image. go-diagrams: Create Beautiful System Diagrams with Go  - github.com/blushft/go-dia…

Design tip: Using images instead of gradients can make your designs much more human & exciting.

nilseller's tweet image. Design tip:

Using images instead of gradients can make your designs much more human & exciting.

Me configuring GoReleaser and golangci-lint

chardon_cs's tweet image. Me configuring GoReleaser and golangci-lint

🚀 #golang Optimization Tip: Convert []byte to string without allocation. Only do this in a hot spot after careful consideration.

inancgumus's tweet image. 🚀 #golang Optimization Tip:

Convert []byte to string without allocation.

Only do this in a hot spot after careful consideration.

Turns out you can reduce the memory usage of a #golang by ~1.4MiB (on 64bit) by simply calling this at the beginning of your main: runtime.MemProfileRate = 0

felixge's tweet image. Turns out you can reduce the memory usage of a #golang by ~1.4MiB (on 64bit) by simply calling this at the beginning of your main:

runtime.MemProfileRate = 0

An interesting article about "How to build a Movie API with Separated Layered Architecture using Go" #golang go4.li/Lp4p0w

golangch's tweet image. An interesting article about "How to build a Movie API with Separated Layered Architecture using Go"
#golang

go4.li/Lp4p0w

Did you know in few lines of code you can encode to json and decode from json to go type. here is how. #golang #golangtutorial #golang_tips

AjayMaharYT's tweet image. Did you know in few lines of code you can encode to json and decode from json to go type.
here is how.
#golang #golangtutorial #golang_tips

Filter & Sort - Uxercon Icon Library 🎛️

uxercon's tweet image. Filter & Sort - Uxercon Icon Library 🎛️

Este prompt convierte cualquier imagen en datos de estilo JSON reutilizables para que puedas replicarla perfectamente (úsalo con Gemini Nano Banana).

ecommartinez's tweet image. Este prompt convierte cualquier imagen en datos de estilo JSON reutilizables para que puedas replicarla perfectamente (úsalo con Gemini Nano Banana).

Loading...

Something went wrong.


Something went wrong.


United States Trends