Skip to content

Commit 1f4f089

Browse files
committed
chore: remove legacy examples; add echarts plugin; add test comments
1 parent 7928516 commit 1f4f089

19 files changed

Lines changed: 408 additions & 1047 deletions

File tree

.gitignore

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,7 @@ go.work.sum
3737
# Air artifacts
3838
*tmp/
3939

40-
# binaries
41-
internal/examples/chatroom/chatroom
42-
internal/examples/counter/counter
43-
internal/examples/countercomp/countercomp
44-
internal/examples/greeter/greeter
45-
internal/examples/livereload/livereload
46-
internal/examples/picocss/picocss
47-
internal/examples/plugins/plugins
48-
internal/examples/realtimechart/realtimechart
49-
internal/examples/shakespeare/shakespeare
40+
# Example binaries (no extension)
41+
internal/examples/pathparams/pathparams
42+
picocss
43+

ci-check.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ if [ -d "internal/examples" ]; then
3030
while IFS= read -r -d '' mainfile; do
3131
dir="$(dirname "$mainfile")"
3232
echo "Building $dir"
33-
if ! (cd "$dir" && go build); then
33+
if ! (cd "$dir" && go build -o /tmp); then
3434
echo "ERROR: example build failed: $dir"
3535
exit 1
3636
fi
@@ -40,7 +40,7 @@ if [ -d "internal/examples" ]; then
4040
if [ "$count" -eq 0 ]; then
4141
echo "NOTE: no example main.go files found under internal/examples"
4242
else
43-
echo "OK: built $count example(s)"
43+
echo "OK: built $count example(s) to /tmp"
4444
fi
4545
else
4646
echo "NOTE: internal/examples not found, skipping example builds"

internal/examples/chatroom/ADR.md

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

internal/examples/chatroom/main.go

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

0 commit comments

Comments
 (0)