Skip to content

Instantly share code, notes, and snippets.

View omarabdelaz1z's full-sized avatar
💭
Hello

Omar Abdelaziz omarabdelaz1z

💭
Hello
View GitHub Profile
@solimanware
solimanware / governorates.json
Last active May 5, 2022 06:01
The Governorates of Egypt in JSON format https://www.buymeacoffee.com/microsmsm
[
{
"gov": "Cairo",
"locations": [
"15 Of May",
"Abbasia",
"Abdeen",
"Al Katamia",
"Bab El Shearia",
"Badr City",
@thomaspoignant
thomaspoignant / ticker.go
Last active July 17, 2023 23:27
GO periodically refreshing Cache implementation
package main
import (
"fmt"
"sync"
"time"
)
var mutex sync.RWMutex
var cache map[string]interface{}
@adamveld12
adamveld12 / comments.md
Last active April 5, 2024 17:13
Go Code Review Comments

Go Code Review Comments

This page collects common comments made during reviews of Go code, so that a single detailed explanation can be referred to by shorthands. This is a laundry list of common mistakes, not a style guide.

You can view this as a supplement to http://golang.org/doc/effective_go.html.

Please discuss changes before editing this page, even minor ones. Many people have opinions and this is not the place for edit wars.