Some ToString functionality
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package analyzer
|
||||
|
||||
import "os"
|
||||
import "fmt"
|
||||
import "path/filepath"
|
||||
// import "git.tebibyte.media/arf/arf/types"
|
||||
import "git.tebibyte.media/arf/arf/parser"
|
||||
@@ -104,3 +105,12 @@ func (analyzer *AnalysisOperation) fetchSection (
|
||||
analyzer.currentSection = previousSection
|
||||
return
|
||||
}
|
||||
|
||||
func doIndent (indent int, input ...any) (output string) {
|
||||
for index := 0; index < indent; index ++ {
|
||||
output += "\t"
|
||||
}
|
||||
|
||||
output += fmt.Sprint(input...)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user