Skip to content

Commit a304b6b

Browse files
committed
Update readme
1 parent 1d280c7 commit a304b6b

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

README.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,29 @@
11
# golang-stringbuilder
2-
A string builder that has similiar capabilities as the one from C#.
2+
A string builder that has similar capabilities as the one from C#. The goal is to have a straightforward API that lets you work with strings easily.
3+
4+
## Install
5+
6+
To install the package, call:
7+
```bash
8+
go get -u github.com/linkdotnet/golang-stringbuilder
9+
```
10+
11+
## Usage
12+
```golang
13+
package sample
14+
15+
import (
16+
"fmt"
17+
18+
Text "github.com/linkdotnet/golang-stringbuilder"
19+
)
20+
21+
func main() {
22+
sb := Text.StringBuilder{}
23+
sb.Append("Hello")
24+
sb.Append(" ")
25+
sb.Append("World")
26+
fmt.Println(sb.ToString())
27+
}
28+
29+
```

0 commit comments

Comments
 (0)