diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2024-06-06 22:25:08 +0300 |
|---|---|---|
| committer | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2024-06-06 22:25:08 +0300 |
| commit | db09a59790aa6c32906eaa5ed5fe05ae6cfb5955 (patch) | |
| tree | 0def7f2b44d60b337c715e43916901b7b247774b /pkg/writer/writer.go | |
| parent | change project name, decouple main and parsing entrance (diff) | |
| download | sdp.go-db09a59790aa6c32906eaa5ed5fe05ae6cfb5955.tar.gz sdp.go-db09a59790aa6c32906eaa5ed5fe05ae6cfb5955.tar.bz2 sdp.go-db09a59790aa6c32906eaa5ed5fe05ae6cfb5955.zip | |
change project name to sdp.gov1.2.0
Diffstat (limited to 'pkg/writer/writer.go')
| -rw-r--r-- | pkg/writer/writer.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/writer/writer.go b/pkg/writer/writer.go index 6b66e75..f3af2fc 100644 --- a/pkg/writer/writer.go +++ b/pkg/writer/writer.go | |||
| @@ -21,8 +21,8 @@ func AppendLine(str string, a ...any) { | |||
| 21 | output.WriteString("\n") | 21 | output.WriteString("\n") |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | func GetString() string { | 24 | func GetWriter() strings.Builder { |
| 25 | return output.String() | 25 | return output |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | func TempAppend(str string, a ...any) { | 28 | func TempAppend(str string, a ...any) { |