# Installation

> Fetch the module, which serves and calls HTTP, in plaintext or over Noise, from Go.

`import "github.com/unum-cloud/ucall"` 1.0.0-rc.1 · b7577426

Fetch the module, which serves and calls HTTP, in plaintext or over Noise, from Go:

```sh
go get github.com/unum-cloud/ucall/golang@main
```

The package binds the C interface in `c/ucall/` through cgo and links the `ucall_static` archive, so building needs Go 1.24 or newer with cgo enabled and a C toolchain. Building the archive takes CMake 4.3 and a C++23 compiler: GCC 15, Clang 22 with libstdc++ 15 or libc++ 22, Xcode 26 or VS 2026. Build it from a checkout and point cgo at it for the current shell, or install it where the linker looks:

```sh
cmake -B build_release -D CMAKE_BUILD_TYPE=Release
cmake --build build_release --target ucall_static
export CGO_LDFLAGS="-L$PWD/build_release"
```

On Linux the archive’s io_uring backends also link the `liburing` archive the same build leaves beside it. Pin a branch or a commit, as in `@main` or `@<commit>`, which `go.sum` records as a pseudo-version. The library picks its I/O backend and CPU kernels when a server or client starts, so one build adapts to the kernel and CPU it runs on.

## API

### Functions

#### `Version`

Version reports the version of the linked library, a release-candidate suffix included.

[ucall.go:379 ↗](https://github.com/unum-cloud/UCall/blob/b75774266a108d8a1b1a6db1489f8a7141c556df/ucall.go#L379)

```go
func Version() string
```
