1
0
mirror of https://github.com/chai2010/advanced-go-programming-book.git synced 2025-05-23 20:02:22 +00:00
advanced-go-programming-book/images/ch1-8-string-1.ditaa.txt
2018-12-14 21:35:56 +08:00

15 lines
805 B
Plaintext

hello, world
+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
| ... | h | e | l | l | o | , | | w | o | r | l | d | ... |
+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
^ ^
| |
+-----------=-+ :
| | |
+-----+---+ +---+----+ +---+----+
| data | | data | | data |
+---------+ +--------+ +--------+
| len: 12 | | len: 5 | | len: 5 |
+---------+ +--------+ +--------+
hello, world hello world