Commit Graph

6 Commits (50012ae57b2f60e35beb78b0457a7b34e77bf984)

Author SHA1 Message Date
lutherwenxu f6cf724571 base64: Rewrite base64_decode() and add some tests 2019-06-27 20:06:00 +02:00
Henrixounez 142d3deab4 base64: make encode and decode public 2019-06-26 22:22:06 +02:00
S-YOU d998313bb1 fix tests 2019-06-26 19:37:02 +02:00
chai2010 7298a961c9 base64: add encode 2019-06-25 21:50:02 +02:00
chai2010 9763167d39 base64: fix build
$ cat hello_world.v
import base64
println('Hello!')

$ v run hello_world.v
============running hello_world==============================
Hello!
10
vlang-zh.cn
chai-mba:examples chai$ v run hello_world.v
println
println
Generating main()...
/Users/chai//.vlang0.0.12//hello_world.c:3783:22: error: used type 'string' (aka 'struct string') where arithmetic or pointer type is required
 return  (/*casttt*/ (string)( /*77*/ str ) ) ;
                     ^       ~~~~~~~~~~~~~~
1 error generated.
V panic: clang error
2019-06-23 09:24:59 +02:00
Alexander Medvednikov d32e538073 V 0.0.12 open-source release 2019-06-22 20:20:28 +02:00