lusingander / kasane

String overlay library for Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Go Reference

kasane

String overlay library for Go

Usage

base := ".......\n.......\n.......\n.......\n......."
s := "xxx\nyyy\nzzz"

out := kasane.OverlayString(base, s, 1, 3)
fmt.Println(out)

// Output:
// .......
// ...xxx.
// ...yyy.
// ...zzz.
// .......

License

MIT

About

String overlay library for Go

License:MIT License


Languages

Language:Go 100.0%