Schema-Enforced Document Database in Go. Type-safe, blazing fast, built for developers who demand structure without sacrificing flexibility.
Built from the ground up for performance, safety, and simplicity.
Define strict schemas for your documents. Reject malformed data at write time, not after it corrupts your database.
Written in Go for raw speed. Native concurrency, zero garbage collection pauses on hot paths, sub-millisecond reads.
Query with confidence. Schema-aware query engine validates field types and prevents runtime surprises.
Three steps to structured, reliable data storage.
Declare required fields, types, and constraints. neboDB validates every document against your schema before writing.
Insert documents through the Go API or HTTP interface. Invalid data is rejected instantly with clear error messages.
Read, filter, and aggregate data knowing every document matches your schema. No surprises, no type mismatches.
Clean, idiomatic Go. No ORMs, no magic — just reliable data operations.
package mainimport ( "fmt" "github.com/saurav-tiwari03/neboDB")func main() { // Initialize the database db := neboDB.New("./data") // Define a schema db.CreateCollection("users", neboDB.Schema{ "name": neboDB.String, "email": neboDB.String, "age": neboDB.Int, }) // Insert a document id, _ := db.Insert("users", neboDB.Doc{ "name": "Alice", "email": "alice@example.com", "age": 28, }) fmt.Println("Inserted:", id)}neboDB is MIT licensed and built in the open. Contributions, issues, and stars are always welcome.
View on GitHub