Skip to content

Instantly share code, notes, and snippets.

@epsniff
epsniff / zipf-distrubution-and-histo_example.go
Last active November 4, 2019 23:32
Zipf distrubution example == with histogram of disturbution
package main
/* ***********************************
Go Playground Link:
https://play.golang.org/p/xjWfPKoBONP
****************************************/
@epsniff
epsniff / bleve.stucts.go
Last active October 25, 2017 23:43
Bleve Intro
type City struct {
Name string
}
type User struct {
Id string
Email string
CurrCityName string
PastCities []*City
}
var m1 = &User{