[WIP] Moving test services to this repo

This commit is contained in:
Janos Dobronszki
2020-10-02 15:03:48 +02:00
parent 61fe9c169b
commit 5c6ba0dbcd
49 changed files with 10400 additions and 0 deletions

19
logger/main.go Normal file
View File

@@ -0,0 +1,19 @@
package main
import (
"time"
"github.com/micro/micro/v3/service"
"github.com/micro/micro/v3/service/logger"
)
func main() {
go func() {
for {
logger.Infof("This is a log line %s", time.Now())
time.Sleep(1 * time.Second)
}
}()
service.Run()
}