Skip to content

Instantly share code, notes, and snippets.

@john-guerra
john-guerra / .block
Last active April 3, 2025 15:23
GeoJson Map of Bogotá
license: mit
@jupaneira
jupaneira / bta_localidades.json
Last active August 12, 2021 19:08
Bogotá Population
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@benbjohnson
benbjohnson / README.md
Created March 3, 2014 03:17
Application-side Interfaces in Go

Application-side Interfaces in Go

By moving the interface to the application-side (application.go), you can still set the implementation-specific configuration details when you instantiate your library structs. If the interface was implemented on the library-side then you would need to provide:

type DB interface {
  Get([]byte) ([]byte, error)
  Put([]byte, []byte) error
  CacheSize() int
 SetCacheSize(int)