Skip to content

Instantly share code, notes, and snippets.

@gm42
gm42 / repro11621.go
Created August 29, 2024 19:23
Testcase for FoundationDB Go binding issue 11621
package main
import (
"fmt"
"os"
"time"
"github.com/apple/foundationdb/bindings/go/src/fdb"
)
@gm42
gm42 / README.md
Last active May 6, 2024 17:28
FoundationDB C Example - Hello World!

FoundationDB Hello World example in C

This is an example C program which sets a key, commits a transaction and then reads it back using a new transaction.

Compile it with:

$ clang -ofdbhello fdbhello.c -Wall -lfdb_c -I/usr/local/include

That's all!

Keybase proof

I hereby claim:

  • I am gm42 on github.
  • I am gm42 (https://keybase.io/gm42) on keybase.
  • I have a public key ASDlfVmBFOw546v7YaRG6M5RwC-m-x18aFs60Zyp5JYEhwo

To claim this, I am signing this object: