Compare commits
2 Commits
api/v0.0.1
...
bootstrap/
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5313e6862b | ||
|
|
bccb4e1b90 |
@@ -2,7 +2,7 @@ syntax = "proto3";
|
||||
|
||||
package pagination;
|
||||
|
||||
option go_package = "github.com/tx7do/kratos-bootstrap/gen/api/go/pagination/v1;pagination";
|
||||
option go_package = "github.com/tx7do/kratos-bootstrap/api/gen/go/pagination/v1;pagination";
|
||||
|
||||
import "google/protobuf/field_mask.proto";
|
||||
import "gnostic/openapi/v3/annotations.proto";
|
||||
|
||||
@@ -2,6 +2,7 @@ package bootstrap
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"runtime"
|
||||
|
||||
"github.com/go-kratos/kratos/v2"
|
||||
"github.com/go-kratos/kratos/v2/log"
|
||||
@@ -90,6 +91,8 @@ func Bootstrap(initApp InitApp, serviceName, version *string) {
|
||||
|
||||
// run the app.
|
||||
if err = app.Run(); err != nil {
|
||||
panic(err)
|
||||
buf := make([]byte, 1024)
|
||||
n := runtime.Stack(buf, false)
|
||||
panic(fmt.Sprintf("Panic: %v\nStack trace:\n%s", err, string(buf[:n])))
|
||||
}
|
||||
}
|
||||
|
||||
4
tag.bat
4
tag.bat
@@ -1,4 +1,4 @@
|
||||
git tag api/v0.0.10 --force
|
||||
git tag api/v0.0.11 --force
|
||||
|
||||
git tag utils/v0.1.2 --force
|
||||
|
||||
@@ -17,7 +17,7 @@ git tag database/influxdb/v0.0.8 --force
|
||||
git tag database/cassandra/v0.0.8 --force
|
||||
git tag database/clickhouse/v0.0.8 --force
|
||||
|
||||
git tag bootstrap/v0.0.13 --force
|
||||
git tag bootstrap/v0.0.14 --force
|
||||
|
||||
git tag v0.5.0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user