Compare commits

...

2 Commits

Author SHA1 Message Date
Bobo
5313e6862b feat: bootstrap. 2025-04-01 18:06:05 +08:00
tx7do
bccb4e1b90 feat: edit pagination api. 2024-12-15 13:05:22 +08:00
3 changed files with 7 additions and 4 deletions

View File

@@ -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";

View File

@@ -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])))
}
}

View File

@@ -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