Put them in a separate file for separation of concerns (making them testable) and add some tests. |
||
|---|---|---|
| .. | ||
| testdata | ||
| cgo.go | ||
| cgo_test.go | ||
| const.go | ||
| const_test.go | ||
| libclang.go | ||
| libclang_config.go | ||
| libclang_stubs.c | ||
| sync.go | ||
Put them in a separate file for separation of concerns (making them testable) and add some tests. |
||
|---|---|---|
| .. | ||
| testdata | ||
| cgo.go | ||
| cgo_test.go | ||
| const.go | ||
| const_test.go | ||
| libclang.go | ||
| libclang_config.go | ||
| libclang_stubs.c | ||
| sync.go | ||