Skip to content

Instantly share code, notes, and snippets.

Clean code structure in golang

by Resotto

  • Good example of Go with Clean Architecture.
  • All kinds of Gophers (newbie to professional).

Package Structure

@eranbes
eranbes / 01-filternet-top200k-26-03-2016.csv
Created October 4, 2016 22:49 — forked from alibo/01-filternet-top200k-26-03-2016.csv
State of Alexa Top 200K global sites in Iran [Censorship] [26-03-2016] #filternet
Rank Site SNI HTTP DNS
1 google.com open open open
2 youtube.com blocked blocked blocked
3 facebook.com blocked blocked blocked
4 baidu.com open open open
5 yahoo.com open open open
6 amazon.com open open open
7 wikipedia.org open open open
8 qq.com open open open
9 google.co.in open open open
@eranbes
eranbes / PerfTest.js
Created February 8, 2016 21:35 — forked from rileybracken/PerfTest.js
React Native Animation Performance Test
'use strict';
import React, {
Component,
Animated,
Easing,
Dimensions,
StyleSheet
} from 'react-native';
@eranbes
eranbes / pr.md
Created December 11, 2015 15:57 — forked from piscisaureus/pr.md
Checkout github pull requests locally

Locate the section for your github remote in the .git/config file. It looks like this:

[remote "origin"]
	fetch = +refs/heads/*:refs/remotes/origin/*
	url = [email protected]:joyent/node.git

Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this: