1
0
mirror of https://github.com/chai2010/advanced-go-programming-book.git synced 2025-05-28 07:22:20 +00:00
advanced-go-programming-book/images/ch1-03-string-1.ditaa.txt
2018-07-25 06:57:04 +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