leankg 0.20.2

Lightweight Knowledge Graph for AI-Assisted Development
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
const std = @import("std");

pub fn add(a: i32, b: i32) i32 {
    return a + b;
}

const Point = struct {
    x: i32,
    y: i32,
};

test "add works" {
    try std.testing.expect(add(1, 2) == 3);
}