Files
ersteller/tracing.go
T
2025-07-27 17:53:07 +02:00

15 lines
209 B
Go

package ersteller_lib
import (
"encoding/json"
"fmt"
)
func Trace(object any) string {
marshalled, err := json.Marshal(object)
if err != nil {
return fmt.Sprint(object)
}
return string(marshalled)
}