> ## Documentation Index
> Fetch the complete documentation index at: https://solana.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> This page is part of the Solana developer documentation at https://solana.com/developers/docs. Append `.md` to any docs URL, or send `Accept: text/markdown`, to get the page as Markdown.
> Index of all pages: https://solana.com/llms.txt. Per-section indexes such as https://solana.com/developers/docs/payments/llms.txt are smaller; prefer them when working on one task.
> Coding agents: install the official Solana skill for current APIs and conventions with `npx skills add https://github.com/solana-foundation/solana-dev-skill` (also served at https://solana.com/SKILL.md).
> Code in the cookbook and task pages comes from tested example files. Prefer it over writing API calls from memory.

# 예제

> LiteSVM용 Go 전체 예제

`litesvm-go`를 보여 주는 완전한 실행 가능 예제입니다. 각 예제는 독립적으로 구성된 Go 테스트이므로
패키지에 추가한 뒤 `go test`로 바로 실행할 수 있습니다.

<Columns cols={2}>
  <Card title="SOL 전송" href="/developers/docs/tools/litesvm/go/examples/sol-transfer">
    System Program 전송을 빌드하고 전송합니다
  </Card>
  <Card title="계정 설정" href="/developers/docs/tools/litesvm/go/examples/account-setup">
    테스트 계정과 프로그램 데이터 상태를 초기 설정합니다
  </Card>
  <Card title="프로그램 테스트" href="/developers/docs/tools/litesvm/go/examples/program-testing">
    커스텀 SBF 프로그램을 로드하고 실행합니다
  </Card>
  <Card title="시간 기반 테스트" href="/developers/docs/tools/litesvm/go/examples/time-based">
    WarpToSlot / SetClock으로 시간에 따라 달라지는 로직을 테스트합니다
  </Card>
</Columns>

## 예제 실행

```bash
# 1) Initialize a Go module (skip if you already have a go.mod)
go mod init mytest

# 2) Add the dependencies to your Go project
go get github.com/LiteSVM/litesvm-go
go get github.com/gagliardetto/solana-go

# 3) Drop an example into a _test.go file and run
go test ./...
```

`litesvm-go` v0.3.0 이상은 Go 1.25.7 이상이 필요하며 순수 Go로 작성되어 있어,
별도의 빌드 태그나 툴체인이 필요하지 않습니다.

테스트 러너 없이 실행하는 독립형 명령줄 예제는 `litesvm-go` 저장소의
[`examples/transfer/main.go`](https://github.com/LiteSVM/litesvm-go/blob/main/examples/transfer/main.go)를
참고하세요.
