mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-15 20:44:46 +00:00
Blog changes + tests (#4)
* Blog changes + tests * Fix build * Fix * Add back step * Fix logger * Fix test * Typo * Better test * Changes to tests * Update micro * Fixing all them things * Fixing even more things :)) * Bump micro * Fix posts and tags by following micro changes * Trying to pin workflow to correct micro version * huh * Bump go micro * Add etcd replace * Changing a bunch of things * Denormalize to fix bug * Fixes
This commit is contained in:
19
tests/main.go
Normal file
19
tests/main.go
Normal file
@@ -0,0 +1,19 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/m3o/services/tests/handler"
|
||||
"github.com/micro/go-micro/v3/logger"
|
||||
"github.com/micro/micro/v3/service"
|
||||
)
|
||||
|
||||
func main() {
|
||||
service := service.New(
|
||||
service.Name("tests"),
|
||||
)
|
||||
|
||||
service.Handle(new(handler.Tests))
|
||||
|
||||
if err := service.Run(); err != nil {
|
||||
logger.Fatal(err)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user