ephemeral-sql-data

command module
v0.0.0-...-838b099 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: MIT Imports: 7 Imported by: 0

README

Ephemeral data models in SQL

An example showing 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 expired data objects in the store.

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