mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-12 03:05:14 +00:00
* 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
20 lines
312 B
Go
20 lines
312 B
Go
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)
|
|
}
|
|
}
|