finish some public api

rename public service
This commit is contained in:
2026-08-03 12:25:51 +08:00
parent 2869730bdd
commit 86fba66370
4 changed files with 65 additions and 4 deletions
+3 -3
View File
@@ -2,10 +2,10 @@ package public
import "github.com/XingfenD/rainyun_api_go_sdk/apis"
type Service struct {
type PublicService struct {
client *apis.Client
}
func NewService(c *apis.Client) *Service {
return &Service{client: c}
func NewPublicService(c *apis.Client) *PublicService {
return &PublicService{client: c}
}