v/examples
Delyan Angelov cd423251da
vweb: add .mount_static_folder_at/2 , use it instead of app.handle_static in the server_sent_events example
2021-03-02 21:30:18 +02:00
..
2048 2048: remove `[no_inline]` (no longer needed) 2021-02-22 21:40:55 +02:00
assets/fonts
compiletime all: change .ReturnType and .Type to .return_type and .typ (#6494) 2020-09-28 06:13:38 +02:00
concurrency time: time.wait() => time.sleep() 2021-02-27 20:41:06 +03:00
database all: bring back `panic(err.msg)` -> `panic(err)` (#9022) 2021-03-01 00:18:14 +01:00
eventbus builtin: add an Option2 struct (#8890) 2021-02-22 18:44:15 +02:00
fireworks examples: fix fireworks.v 2021-02-17 06:50:09 +01:00
flappylearning all: bring back `panic(err.msg)` -> `panic(err)` (#9022) 2021-03-01 00:18:14 +01:00
game_of_life time: time.wait() => time.sleep() 2021-02-27 20:41:06 +03:00
gg gg: add draw_convex_poly/2 and draw_empty_poly/2 methods (#8487) 2021-02-01 18:18:23 +02:00
hot_reload time: time.wait() => time.sleep() 2021-02-27 20:41:06 +03:00
linear_regression
pico examples: fix `v build-examples` 2020-07-24 13:29:47 +03:00
process all: bring back `panic(err.msg)` -> `panic(err)` (#9022) 2021-03-01 00:18:14 +01:00
regex all: bring back `panic(err.msg)` -> `panic(err)` (#9022) 2021-03-01 00:18:14 +01:00
smtp examples: add example for using the SMTP module (#5870) 2020-07-18 15:59:54 +03:00
snek gg: use gg types for Events instead of sapp 2021-02-17 06:44:01 +01:00
sokol gg: window_size_real_pixels that for 3D without dpi scaling (#9004) 2021-02-27 22:11:26 +01:00
templates all: bring back `panic(err.msg)` -> `panic(err)` (#9022) 2021-03-01 00:18:14 +01:00
term.ui all: bring back `panic(err.msg)` -> `panic(err)` (#9022) 2021-03-01 00:18:14 +01:00
tetris time: time.wait() => time.sleep() 2021-02-27 20:41:06 +03:00
ttf_font all: bring back `panic(err.msg)` -> `panic(err)` (#9022) 2021-03-01 00:18:14 +01:00
vcasino examples: fix warnings when doing `./v -W -progress -check-syntax build-examples` 2020-10-26 13:14:26 +02:00
vweb vweb: add .mount_static_folder_at/2 , use it instead of app.handle_static in the server_sent_events example 2021-03-02 21:30:18 +02:00
websocket all: bring back `panic(err.msg)` -> `panic(err)` (#9022) 2021-03-01 00:18:14 +01:00
word_counter all: update copyright to 2019-2021 (#8029) 2021-01-18 13:20:06 +01:00
x64
.gitignore
binary_search_tree.v vfmt: vfmt examples/*.v 2021-02-23 20:21:50 +02:00
buf_reader.v time: time.wait() => time.sleep() 2021-02-27 20:41:06 +03:00
cli.v vfmt: vfmt examples/*.v 2021-02-23 20:21:50 +02:00
fetch.v vfmt: vfmt examples/*.v 2021-02-23 20:21:50 +02:00
fibonacci.v vfmt: vfmt examples/*.v 2021-02-23 20:21:50 +02:00
fizz_buzz.v vfmt: vfmt examples/*.v 2021-02-23 20:21:50 +02:00
hanoi.v examples,tools: cleanup most warnings 2020-12-04 16:05:39 +02:00
hello_v_js.v examples: build examples/hello_v_js.v without warnings/errors 2020-10-18 09:33:55 +03:00
hello_world.v
json.v vfmt: vfmt examples/*.v 2021-02-23 20:21:50 +02:00
lander.v time: time.wait() => time.sleep() 2021-02-27 20:41:06 +03:00
links_scraper.v
log.v vfmt: vfmt examples/*.v 2021-02-23 20:21:50 +02:00
mini_calculator.v vfmt: vfmt examples/*.v 2021-02-23 20:21:50 +02:00
nbody.v vfmt: vfmt examples/*.v 2021-02-23 20:21:50 +02:00
net_peer_ip.v vfmt: vfmt examples/*.v 2021-02-23 20:21:50 +02:00
net_raw_http.v all: require calling `optfn() ?` / `optfn() or {...}` for `fn optfn() ? {}` 2021-01-26 16:43:17 +02:00
net_t.v vfmt: vfmt examples/*.v 2021-02-23 20:21:50 +02:00
net_udp_server_and_client.v examples: add net_udp_server_and_client.v 2021-02-02 10:36:56 +02:00
news_fetcher.v sync: move pool related code to `sync.pool`, cleanup, add a README.md 2021-02-11 10:55:23 +02:00
path_tracing.v all: bring back `panic(err.msg)` -> `panic(err)` (#9022) 2021-03-01 00:18:14 +01:00
quick_sort.v vfmt: vfmt examples/*.v 2021-02-23 20:21:50 +02:00
random_ips.v vfmt: vfmt examples/*.v 2021-02-23 20:21:50 +02:00
rune.v
spectral.v examples: fix spectral.v 2020-12-21 08:50:31 +01:00
terminal_control.v vfmt: vfmt examples/*.v 2021-02-23 20:21:50 +02:00
tree_of_nodes.v examples: use Empty instead of Leaf in tree_of_nodes.v 2021-01-15 11:15:29 +02:00
v_script.vsh all: update repo to use the new error handling syntax (#8950) 2021-02-28 23:20:21 +03:00
vmod.v vfmt: vfmt examples/*.v 2021-02-23 20:21:50 +02:00
vpwgen.v vfmt: vfmt examples/*.v 2021-02-23 20:21:50 +02:00
wkhtmltopdf.v os: tag some File methods that take voidptr as unsafe - write_bytes, write_bytes_at (#8985) 2021-02-27 10:11:17 +02:00