Documentation
¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OverlayString ¶
OverlayString returns a string with the s string overlaid on the base string.
Example ¶
base := ".......\n.......\n.......\n.......\n......." s := "xxx\nyyy\nzzz" out := OverlayString(base, s, 1, 3) fmt.Println(out)
Output: ....... ...xxx. ...yyy. ...zzz. .......
Types ¶
Click to show internal directories.
Click to hide internal directories.