<commit_before>package main

import "github.com/flydb/flydb"

func main() {
    db, _ := flydb.Open("db.json")

    // get
    println db.MustGetString("users.0.username")

    // set
    db.Set("users.0.star", 100)

    // filter
    db.MustGet("users").Filter(func(n *db.Node) bool {
        return true
    })

}<commit_msg>fix example<commit_after>package main

import "github.com/flydb/flydb"

func main() {
    db, _ := flydb.Open("db.json")

    // get
    println(db.Root().MustGet("users.0.username").MustValue().MustString())

    // set
    db.Root().Set("users.0.star", 100)

    println(db.Root().MustGet("users.0.star").MustValue().MustInt())

    // filter
    // db.MustGet("users").Filter(func(n *db.Node) bool {
    //     return true
    // })

}
{'fraction_non_alphanumeric': 0.19607843137254902, 'fraction_numerical': 0.01437908496732026, 'mean_word_length': 2.5794392523364484, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6490902', 'n_tokens_mistral': 288, 'n_tokens_neox': 271, 'n_words': 41}