darth-db

module
v0.0.0-...-3bbbc92 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2021 License: Apache-2.0

README ΒΆ

The Darth Database for the Dark Side


πŸ€” What is that?

This is a tiny database for small projects using many formats inspired in lowdb

πŸ’» How install?

go get github.com/TeoDev1611/darth-db

Examples πŸ‘Œ

Write a json database with the data:

package main

import (
	"github.com/TeoDev1611/darth-db/json"
)

func main() {
	data := map[string]interface{}{
		"database":    "darth-db",
		"awesome":     true,
		"easy":        true,
		"description": "A little db for the dark side",
	}
	json.WriteDB("sampledb.json", "  ", false, data)
}

πŸ’ Todo

  • Write Json Files
  • Parse String to Map String interface
  • Get all data from the json
  • Get a single value of the json
  • Support for toml
  • Encrypt function
  • Examples
  • Support for Yaml

βœ… Authors

Special thanks to GolangUA and Red Panda for this beautiful illustration 🀟. Project made by @TeoDev1611

Directories ΒΆ

Path Synopsis

Jump to

Keyboard shortcuts

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