Skip to content

Commit 37e302f

Browse files
authored
chore: remove unnecessary example (#30)
1 parent 5ff8147 commit 37e302f

File tree

3 files changed

+1
-277
lines changed

3 files changed

+1
-277
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,6 @@ Complete working examples are available in the [`example/`](example/) directory:
218218
| Example | Description |
219219
|---------|-------------|
220220
| [`gosnowflake/`](example/gosnowflake/) | Basic usage with gosnowflake driver |
221-
| [`embedded/`](example/embedded/) | In-process testing without HTTP server (ideal for unit tests) |
222221
| [`restapi/`](example/restapi/) | REST API v2 usage for any programming language |
223222
| [`docker/`](example/docker/) | Docker container usage example |
224223

example/README.md

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -45,22 +45,7 @@ go run ./example/restapi
4545
- Listing resources
4646
- Error handling
4747

48-
### 3. Embedded Library (`embedded/`)
49-
50-
Demonstrates using the emulator as an in-process library without an external server. This is ideal for unit tests.
51-
52-
```bash
53-
# No server needed - runs entirely in-process
54-
go run ./example/embedded
55-
```
56-
57-
**Features demonstrated:**
58-
- In-process emulator setup
59-
- Using httptest.Server for local testing
60-
- All Snowflake SQL function translations
61-
- Clean teardown
62-
63-
### 4. Docker (`docker/`)
48+
### 3. Docker (`docker/`)
6449

6550
Demonstrates using the emulator running in a Docker container.
6651

@@ -111,9 +96,6 @@ testuser:testpass@localhost:8080/TEST_DB/PUBLIC?account=testaccount&protocol=htt
11196
# Build all examples (syntax check)
11297
go build ./example/...
11398

114-
# Run embedded example (no server required)
115-
go run ./example/embedded
116-
11799
# Run gosnowflake and restapi examples (requires server)
118100
go run ./cmd/server &
119101
sleep 2

example/embedded/main.go

Lines changed: 0 additions & 257 deletions
This file was deleted.

0 commit comments

Comments
 (0)