Add base setup

This commit is contained in:
2022-09-10 01:19:29 +02:00
commit b8fcd14ebe
9 changed files with 191 additions and 0 deletions

15
default_logger.go Normal file
View File

@@ -0,0 +1,15 @@
package curre
import "fmt"
type DefaultLogger struct{}
var _ Logger = &DefaultLogger{}
func (dl *DefaultLogger) Info(msg string, args ...any) {
fmt.Printf(msg, args...)
}
func (dl *DefaultLogger) Error(msg string, args ...any) {
fmt.Printf(msg, args...)
}