ephemeral-sql-data

command module
v0.0.0-...-895af31 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2020 License: MIT Imports: 7 Imported by: 0

README

Ephemeral data models in SQL

A recipe that shows the implementation of an ephemeral data model in Go. We create a SQL data store that will garbage collect every n seconds to check and remove any data objects in the store that have expired.

The recipe uses the time.Ticker to garbage collect every GCInterval.

Setup

  1. Run the program

    $ make run
    

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL