Transfer first library files
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
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)
|
||||
}
|
||||
Reference in New Issue
Block a user