> For the complete documentation index, see [llms.txt](https://docs.sealsecurity.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sealsecurity.io/using-platform/working-with-seal-apps/artifact-server/go.md).

# Editing Go dependencies

## Direct dependencies

The Go modules manifest is `go.mod`. Update the version in the `require` directive:

```diff
 require (
-  github.com/example/foo v1.2.3
+  github.com/example/foo v1.2.3-sp1
 )
```

Run `go mod tidy` (to refresh `go.sum`) and then `go build`; the resolved version is the sealed counterpart pulled through `go.sealsecurity.io`.

## Transitive dependencies

This page covers direct dependencies only. For overriding transitive dependencies in Go modules, work with your Seal account team to confirm the right pattern for your project's setup.

## Related

* [Configuring Go](/setup-apps-os/artifact-server/configuring-package-managers/go.md): the package-manager setup that points Go modules at the Seal Artifact Server.
