1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/examples
2022-10-02 22:39:11 +03:00
..
2048 checker: allow EnumName(number) casts only inside unsafe{} blocks (#15932) 2022-10-02 22:39:11 +03:00
assets examples: clean file path usage in the examples, move all the fonts in the common assets folder (#12736) 2021-12-06 09:53:46 +02:00
call_v_from_c docs: call_v_from_c example (#15844) 2022-09-25 22:52:40 +03:00
call_v_from_python examples: enhance the call_v_from_python example, with a fn accepting 2 f64 params (#13480) 2022-02-16 09:12:49 +02:00
clock cgen: remove the need for [console] for gg or ui programs on windows (#15912) 2022-09-29 15:02:50 +03:00
compiletime docs: improve the docs by provide better examples and describe module publishing (#12308) 2021-10-31 11:32:31 +02:00
concurrency net.http: Response.text -> Response.body (#14478) 2022-05-29 20:27:18 +03:00
database fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
dynamic_library_loading examples: document how to produce the shared library, needed for a standalone run of examples/dynamic_library_loading/use.v 2022-06-01 13:58:49 +03:00
eventbus examples: improve the sendbus example (#13604) 2022-02-26 09:50:44 +02:00
fireworks cgen: remove the need for [console] for gg or ui programs on windows (#15912) 2022-09-29 15:02:50 +03:00
flappylearning checker: fix nested struct reference type field initialized check. (fix: #15741) (#15752) 2022-09-15 07:59:31 +03:00
game_of_life checker: fix nested struct reference type field initialized check. (fix: #15741) (#15752) 2022-09-15 07:59:31 +03:00
get_weather net.http: Response.text -> Response.body (#14478) 2022-05-29 20:27:18 +03:00
gg checker: allow EnumName(number) casts only inside unsafe{} blocks (#15932) 2022-10-02 22:39:11 +03:00
graphs examples: remove empty comments (#14986) 2022-07-08 15:35:45 +03:00
hot_reload checker: fix nested struct reference type field initialized check. (fix: #15741) (#15752) 2022-09-15 07:59:31 +03:00
js_dom_cube examples: serve js (#15246) 2022-08-03 13:34:26 +03:00
js_dom_draw examples: serve js (#15246) 2022-08-03 13:34:26 +03:00
js_dom_draw_bechmark_chart checker: optimize the position of the propagation error, where a fn needs to return an optional or result(fix #15780) (#15813) 2022-09-19 14:49:23 +03:00
linear_regression
macos_tray checker: fix nested struct reference type field initialized check. (fix: #15741) (#15752) 2022-09-15 07:59:31 +03:00
native native: implement for-c and for-in range loops (#12155) 2021-11-30 11:49:30 +02:00
password os: add input_password(prompt) and unit tests (#15507) 2022-08-23 18:17:38 +03:00
pendulum-simulation checker: fix nested struct reference type field initialized check. (fix: #15741) (#15752) 2022-09-15 07:59:31 +03:00
pico
process examples: fix process_stdin_trick example (#13953) 2022-04-07 13:55:12 +03:00
regex all: update copyright year 2022-01-04 12:21:12 +03:00
smtp
snek checker: fix nested struct reference type field initialized check. (fix: #15741) (#15752) 2022-09-15 07:59:31 +03:00
sokol checker: allow EnumName(number) casts only inside unsafe{} blocks (#15932) 2022-10-02 22:39:11 +03:00
submodule examples: add missing v.mod file (#14392) 2022-05-14 14:48:42 +03:00
templates fmt: fix unnecessary line break in array init (fix #11448) (#11562) 2021-09-21 16:20:09 +03:00
term.ui checker: fix nested struct reference type field initialized check. (fix: #15741) (#15752) 2022-09-15 07:59:31 +03:00
tetris all: voidptr(0) => unsafe { nil } (p.2) 2022-07-21 20:51:54 +03:00
ttf_font cgen: remove the need for [console] for gg or ui programs on windows (#15912) 2022-09-29 15:02:50 +03:00
vcasino rand: simplify rand.PRNG, move to optional types for error handling (#13570) 2022-02-23 12:36:14 +02:00
viewer cgen: remove the need for [console] for gg or ui programs on windows (#15912) 2022-09-29 15:02:50 +03:00
vweb examples: add another vweb example, showing file upload, transform, and file download (#14842) 2022-06-24 09:23:47 +03:00
vweb_orm_jwt examples: refactor vweb_orm_jwt (#15389) 2022-08-12 17:24:57 +03:00
web_crawler examples: replace "resp.text" with "resp.body". (#15123) 2022-07-19 12:52:42 +03:00
websocket examples: simplify examples/websocket/ping.v (end automatically, when the client ends) 2022-07-09 12:40:52 +03:00
word_counter all: update copyright year 2022-01-04 12:21:12 +03:00
.gitignore log: improve logging interface (#12886) 2021-12-18 12:38:43 +02:00
asm.v
binary_search_tree.v examples: make the binary search tree example generic (#11968) 2021-09-24 21:17:26 +03:00
bst_map.v datatypes: add a binary search tree implementation (#13453) 2022-02-22 10:28:01 +02:00
buf_reader.v fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
c_interop_wkhtmltopdf.v examples: fix typo in c_interop_wkhtmltopdf.v (#15036) 2022-07-12 19:42:55 +03:00
cli.v
dump_factorial.v
errors.v
fetch.v net.http: Response.text -> Response.body (#14478) 2022-05-29 20:27:18 +03:00
fibonacci.v docs: document more builtin functions/methods (#14229) 2022-04-30 12:31:23 +03:00
file_list.v
fizz_buzz.v
function_types.v
hanoi.v examples: remove unused return types in hanoi.v (#10661) 2021-07-04 17:34:58 +03:00
hello_v_js.v
hello_world.v
http_server.v net.http: Response.text -> Response.body (#14478) 2022-05-29 20:27:18 +03:00
json.v
lander.v
links_scraper.v
log.v log: improve logging interface (#12886) 2021-12-18 12:38:43 +02:00
mini_calculator.v examples/mini_calculator.v: handle ctrl-d gracefully 2021-08-20 10:07:41 +03:00
nbody.v
net_failconnect.v net: add failed addresses + details on connect errors, make connect more robust in the default non blocking mode (#15364) 2022-08-07 10:40:05 +03:00
net_peer_ip.v fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
net_raw_http.v fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
net_resolve.v
net_t.v net.http: Response.text -> Response.body (#14478) 2022-05-29 20:27:18 +03:00
net_udp_server_and_client.v fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
news_fetcher.v net.http: Response.text -> Response.body (#14478) 2022-05-29 20:27:18 +03:00
path_tracing.v checker: fix nested struct reference type field initialized check. (fix: #15741) (#15752) 2022-09-15 07:59:31 +03:00
quick_sort.v rand: simplify rand.PRNG, move to optional types for error handling (#13570) 2022-02-23 12:36:14 +02:00
random_ips.v fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
rule110.v rand: simplify rand.PRNG, move to optional types for error handling (#13570) 2022-02-23 12:36:14 +02:00
rune.v
spectral.v fmt: remove unnecessary parentheses after return (fix #11423) (#11435) 2021-09-08 14:19:53 +03:00
tcp_echo_server.v checker: require unsafe for free() 2022-08-20 08:03:07 +03:00
tcp_notify_echo_server.v fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
terminal_control.v
toml.v toml: use toml.parse_text and toml.parse_file in the tests 2022-03-18 23:32:06 +02:00
tree_of_nodes.v all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
v_script.vsh examples: simplify the shebang in the v_script.vsh example 2022-06-04 20:15:39 +03:00
vmod.v
vpwgen.v fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00