Tech C**P
@technical_notes
12
subscribers
161
photos
9
videos
59
files
304
links
مدرس و برنامه نویس پایتون و لینوکس
@alirezastack
Download Telegram
Join
Tech C**P
12 subscribers
Tech C**P
https://github.com/gorilla/mux/issues/360
#golang
#gorilla
#mux
#middleware
#github
GitHub
Disable middleware for some api · Issue #360 · gorilla/mux
Hi, I need to deactivate middleware in some api. For example, I need to disable the auth user registry and use auth for other operations after the registry. But in mux using r.Use (), all routers r...
Tech C**P
#JSON
mapping in
#protobuf
#grpc
:
https://developers.google.com/protocol-buffers/docs/proto3#json
#golang
protobuf.dev
Language Guide (proto 3)
Covers how to use the proto3 revision of the Protocol Buffers language in your project.
Tech C**P
https://golangcode.com/run-code-once-with-sync/
#golang
#sync
#once
#goroutine
#sync
.once
GolangCode
Run Code Once on First Load (Concurrency Safe) - GolangCode
Using a web server as an example, there are multiple stages you can load resources. Within the main() function and within the handler are the obvious two - each with their own advantages and disadvantages. Within the main function can hinder the start-up…
Tech C**P
https://go-proverbs.github.io/
#go
#golang
#proverbs