Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aliliin/kratos-shop
/ functions
Functions
5,359 in github.com/aliliin/kratos-shop
⨍
Functions
5,359
◇
Types & classes
834
↓ 53 callers
Method
Error
Error returns a concatenation of all the error messages it wraps.
service/goods/api/goods/v1/goods.pb.validate.go:282
↓ 32 callers
Function
file_api_goods_v1_goods_proto_rawDescGZIP
()
service/goods/api/goods/v1/goods.pb.go:3118
↓ 32 callers
Function
file_goods_v1_goods_proto_rawDescGZIP
()
service/order/api/goods/v1/goods.pb.go:3118
↓ 31 callers
Method
Error
Error returns a concatenation of all the error messages it wraps.
service/order/api/goods/v1/goods.pb.validate.go:282
↓ 30 callers
Method
Error
Error returns a concatenation of all the error messages it wraps.
service/user/api/user/v1/user.pb.validate.go:872
↓ 22 callers
Method
Validate
Validate checks the field values on AttrRequest with the rules defined in the proto definition for this message. If any rules are violated, the first
service/goods/api/goods/v1/goods.pb.validate.go:167
↓ 22 callers
Method
Validate
Validate checks the field values on AttrRequest with the rules defined in the proto definition for this message. If any rules are violated, the first
service/order/api/goods/v1/goods.pb.validate.go:167
↓ 16 callers
Method
CheckPassword
(ctx context.Context, password, encryptedPassword string)
admin/internal/biz/user.go:42
↓ 16 callers
Method
CreateUser
(c context.Context, u *User)
admin/internal/biz/user.go:39
↓ 16 callers
Method
UpdateAddress
(ctx context.Context, in *UpdateAddressReq, opts ...grpc.CallOption)
shop/api/shop/v1/shop_grpc.pb.go:32
↓ 15 callers
Method
CreateAddress
(ctx context.Context, in *CreateAddressReq, opts ...grpc.CallOption)
shop/api/shop/v1/shop_grpc.pb.go:30
↓ 15 callers
Method
DB
DB 根据此方法来判断当前的 db 是不是使用 事务的 DB
service/goods/internal/data/data.go:72
↓ 15 callers
Method
Error
Error returns a concatenation of all the error messages it wraps.
service/order/api/user/v1/user.pb.validate.go:872
↓ 15 callers
Function
file_api_service_user_v1_user_proto_rawDescGZIP
()
shop/api/service/user/v1/user.pb.go:1220
↓ 15 callers
Function
file_api_service_user_v1_user_proto_rawDescGZIP
()
admin/api/service/user/v1/user.pb.go:1220
↓ 15 callers
Function
file_api_user_v1_user_proto_rawDescGZIP
()
service/user/api/user/v1/user.pb.go:1223
↓ 15 callers
Function
file_conf_conf_proto_rawDescGZIP
()
service/order/internal/conf/conf.pb.go:996
↓ 15 callers
Function
file_user_v1_user_proto_rawDescGZIP
()
service/order/api/user/v1/user.pb.go:1223
↓ 14 callers
Method
DefaultAddress
(ctx context.Context, in *AddressReq, opts ...grpc.CallOption)
shop/api/shop/v1/shop_grpc.pb.go:33
↓ 14 callers
Method
DeleteAddress
(ctx context.Context, in *AddressReq, opts ...grpc.CallOption)
shop/api/shop/v1/shop_grpc.pb.go:34
↓ 14 callers
Method
Error
Error returns a concatenation of all the error messages it wraps.
shop/api/service/user/v1/user.pb.validate.go:872
↓ 14 callers
Method
Error
Error returns a concatenation of all the error messages it wraps.
admin/api/service/user/v1/user.pb.validate.go:872
↓ 14 callers
Function
file_internal_conf_conf_proto_rawDescGZIP
()
shop/internal/conf/conf.pb.go:904
↓ 13 callers
Method
Scan
(value interface{})
service/goods/internal/data/base.go:16
↓ 13 callers
Function
file_internal_conf_conf_proto_rawDescGZIP
()
admin/internal/conf/conf.pb.go:825
↓ 12 callers
Method
Error
Error returns a concatenation of all the error messages it wraps.
shop/api/shop/v1/shop.pb.validate.go:1295
↓ 12 callers
Method
Error
Error returns a concatenation of all the error messages it wraps.
admin/api/admin/v1/admin.pb.validate.go:1271
↓ 12 callers
Function
file_api_admin_v1_admin_proto_rawDescGZIP
()
admin/api/admin/v1/admin.pb.go:1088
↓ 12 callers
Function
file_api_shop_v1_shop_proto_rawDescGZIP
()
shop/api/shop/v1/shop.pb.go:1107
↓ 11 callers
Method
Error
Error returns a concatenation of all the error messages it wraps.
service/cart/api/cart/v1/cart.pb.validate.go:992
↓ 11 callers
Method
GetUserByMobile
(ctx context.Context, in *MobileRequest, opts ...grpc.CallOption)
admin/api/service/user/v1/user_grpc.pb.go:27
↓ 11 callers
Method
ListAddress
收货地址
admin/api/service/user/v1/user_grpc.pb.go:33
↓ 11 callers
Method
ValidateAll
ValidateAll checks the field values on AttrRequest with the rules defined in the proto definition for this message. If any rules are violated, the res
service/goods/api/goods/v1/goods.pb.validate.go:175
↓ 11 callers
Method
ValidateAll
ValidateAll checks the field values on AttrRequest with the rules defined in the proto definition for this message. If any rules are violated, the res
service/order/api/goods/v1/goods.pb.validate.go:175
↓ 11 callers
Function
file_cart_v1_cart_proto_rawDescGZIP
()
service/cart/api/cart/v1/cart.pb.go:720
↓ 11 callers
Function
file_cart_v1_cart_proto_rawDescGZIP
()
service/order/api/cart/v1/cart.pb.go:720
↓ 11 callers
Function
file_internal_conf_conf_proto_rawDescGZIP
()
service/goods/internal/conf/conf.pb.go:766
↓ 10 callers
Method
Error
Error returns a concatenation of all the error messages it wraps.
service/order/api/cart/v1/cart.pb.validate.go:992
↓ 10 callers
Method
UpdateUser
(context.Context, *User)
service/user/internal/biz/user.go:30
↓ 10 callers
Function
file_conf_conf_proto_rawDescGZIP
()
service/cart/internal/conf/conf.pb.go:704
↓ 10 callers
Function
file_internal_conf_conf_proto_rawDescGZIP
()
service/user/internal/conf/conf.pb.go:706
↓ 9 callers
Method
GetUserById
(ctx context.Context, id int64)
service/user/internal/biz/user.go:29
↓ 9 callers
Method
GetUserList
(ctx context.Context, in *PageInfo, opts ...grpc.CallOption)
admin/api/service/user/v1/user_grpc.pb.go:26
↓ 8 callers
Method
AddressListByUid
(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption)
shop/api/shop/v1/shop_grpc.pb.go:31
↓ 7 callers
Method
Create
(context.Context, *domain.Brand)
service/goods/internal/biz/brand.go:16
↓ 6 callers
Method
Create
(ctx context.Context, c *domain.ShopCart)
service/cart/internal/biz/cart.go:11
↓ 6 callers
Method
GetIndexName
GetIndexName 设计商品的索引 goods
service/goods/internal/data/es_goods.go:15
↓ 5 callers
Method
BrandList
商品品牌
service/order/api/goods/v1/goods_grpc.pb.go:33
↓ 5 callers
Method
CreateAttrGroup
商品参数属性 ,手机:主体,屏幕, 操作系统,网络支持之类的
service/order/api/goods/v1/goods_grpc.pb.go:44
↓ 5 callers
Method
CreateAttrValue
商品参数属性组下的一些信息 ,主体:上市年份 产品名称 ,网络支持 5G网络,双卡双待类型,
service/order/api/goods/v1/goods_grpc.pb.go:46
↓ 5 callers
Method
CreateBrand
(ctx context.Context, in *BrandRequest, opts ...grpc.CallOption)
service/order/api/goods/v1/goods_grpc.pb.go:34
↓ 5 callers
Method
CreateCart
(ctx context.Context, in *CreateCartRequest, opts ...grpc.CallOption)
service/order/api/cart/v1/cart_grpc.pb.go:25
↓ 5 callers
Method
CreateCategory
(ctx context.Context, in *CategoryInfoRequest, opts ...grpc.CallOption)
service/order/api/goods/v1/goods_grpc.pb.go:29
↓ 5 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
service/user/internal/mocks/mrepo/user.go:34
↓ 5 callers
Method
List
(ctx context.Context, userId int64)
service/cart/internal/biz/cart.go:12
↓ 5 callers
Method
ListCart
(ctx context.Context, in *ListCartRequest, opts ...grpc.CallOption)
service/order/api/cart/v1/cart_grpc.pb.go:28
↓ 5 callers
Method
UpdateBrand
(ctx context.Context, in *BrandRequest, opts ...grpc.CallOption)
service/order/api/goods/v1/goods_grpc.pb.go:36
↓ 5 callers
Function
getUid
(ctx context.Context)
shop/internal/biz/address.go:123
↓ 5 callers
Function
getUid
(ctx context.Context)
admin/internal/biz/address.go:123
↓ 4 callers
Method
CreateGoods
(ctx context.Context, goods *domain.Goods)
service/goods/internal/biz/goods.go:14
↓ 4 callers
Method
CreateGoodsSpecification
创建商品规格 也就是 手机的颜色、内存版本、购买方式之类的 商品规格的值,比如手机颜色对应的有 红、白、黑,内存,128g、256g, 也一起创建了
service/order/api/goods/v1/goods_grpc.pb.go:42
↓ 4 callers
Method
DeleteBrand
(ctx context.Context, in *BrandRequest, opts ...grpc.CallOption)
service/order/api/goods/v1/goods_grpc.pb.go:35
↓ 4 callers
Method
DeleteCart
(ctx context.Context, in *DeleteCartRequest, opts ...grpc.CallOption)
service/order/api/cart/v1/cart_grpc.pb.go:27
↓ 4 callers
Method
DeleteCategory
(context.Context, int32)
service/goods/internal/biz/category.go:38
↓ 4 callers
Method
ExecTx
(context.Context, func(ctx context.Context) error)
service/order/internal/biz/biz.go:13
↓ 4 callers
Method
GetAddress
(ctx context.Context, a *domain.Address)
service/user/internal/biz/address.go:16
↓ 4 callers
Method
GetAllCategoryList
商品分类
service/order/api/goods/v1/goods_grpc.pb.go:27
↓ 4 callers
Method
GetSubCategory
(ctx context.Context, in *CategoryListRequest, opts ...grpc.CallOption)
service/order/api/goods/v1/goods_grpc.pb.go:28
↓ 4 callers
Method
GoodsList
(ctx context.Context, es *domain.EsSearch)
service/goods/internal/biz/es_goods.go:12
↓ 4 callers
Method
IsExistsByID
(context.Context, int64)
service/goods/internal/biz/goods_type.go:15
↓ 4 callers
Method
String
()
shop/api/shop/v1/shop.pb.go:726
↓ 4 callers
Method
String
()
service/user/api/user/v1/user.pb.go:580
↓ 4 callers
Method
String
()
admin/api/admin/v1/admin.pb.go:724
↓ 4 callers
Method
UpdateCart
(ctx context.Context, in *UpdateCartRequest, opts ...grpc.CallOption)
service/order/api/cart/v1/cart_grpc.pb.go:26
↓ 4 callers
Method
UpdateCategory
(context.Context, *CategoryInfo)
service/goods/internal/biz/category.go:34
↓ 4 callers
Method
UpdateGoods
(ctx context.Context, in *CreateGoodsRequest, opts ...grpc.CallOption)
service/order/api/goods/v1/goods_grpc.pb.go:49
↓ 4 callers
Method
UserById
(ctx context.Context, Id int64)
admin/internal/biz/user.go:41
↓ 4 callers
Method
UserByMobile
(ctx context.Context, mobile string)
admin/internal/biz/user.go:40
↓ 4 callers
Function
UserResponse
(user *biz.User)
service/user/internal/service/user.go:64
↓ 4 callers
Method
Validate
Validate checks the field values on PageInfo with the rules defined in the proto definition for this message. If any rules are violated, the first err
shop/api/service/user/v1/user.pb.validate.go:837
↓ 4 callers
Method
Validate
Validate checks the field values on PageInfo with the rules defined in the proto definition for this message. If any rules are violated, the first err
service/user/api/user/v1/user.pb.validate.go:837
↓ 4 callers
Method
Validate
Validate checks the field values on PageInfo with the rules defined in the proto definition for this message. If any rules are violated, the first err
service/order/api/user/v1/user.pb.validate.go:837
↓ 4 callers
Method
Validate
Validate checks the field values on PageInfo with the rules defined in the proto definition for this message. If any rules are violated, the first err
admin/api/service/user/v1/user.pb.validate.go:837
↓ 3 callers
Method
CreateAddress
(ctx context.Context, a *Address)
admin/internal/biz/address.go:26
↓ 3 callers
Method
CreateGoodsType
(context.Context, *domain.GoodsType)
service/goods/internal/biz/goods_type.go:12
↓ 3 callers
Method
CreateOrder
(ctx context.Context, in *OrderRequest, opts ...grpc.CallOption)
service/order/api/order/v1/order_grpc.pb.go:25
↓ 3 callers
Method
DefaultAddress
(ctx context.Context, a *Address)
admin/internal/biz/address.go:29
↓ 3 callers
Method
DeleteAddress
(ctx context.Context, a *Address)
admin/internal/biz/address.go:30
↓ 3 callers
Method
GetAddress
(ctx context.Context, in *AddressReq, opts ...grpc.CallOption)
service/order/api/user/v1/user_grpc.pb.go:38
↓ 3 callers
Method
GetCategoryByID
(ctx context.Context, id int32)
service/goods/internal/biz/category.go:36
↓ 3 callers
Method
GetUserById
(ctx context.Context, in *IdRequest, opts ...grpc.CallOption)
admin/api/service/user/v1/user_grpc.pb.go:28
↓ 3 callers
Method
IsTypeIDEmpty
()
service/goods/internal/domain/goods_attr.go:12
↓ 3 callers
Method
ListByIds
(context.Context, ...int32)
service/goods/internal/biz/brand.go:22
↓ 3 callers
Method
ListUser
(ctx context.Context, pageNum, pageSize int)
service/user/internal/biz/user.go:27
↓ 3 callers
Method
ToDomain
()
service/goods/internal/data/goods_attr.go:74
↓ 3 callers
Method
UpdateAddress
(ctx context.Context, a *Address)
admin/internal/biz/address.go:28
↓ 3 callers
Method
Value
()
service/goods/internal/data/base.go:12
↓ 3 callers
Function
file_order_v1_order_proto_rawDescGZIP
()
service/order/api/order/v1/order.pb.go:347
↓ 3 callers
Function
modelToResponse
ModelToResponse 转换 user 表中所有字段的值
service/user/internal/data/user.go:75
↓ 2 callers
Method
AddAddress
(ctx context.Context, a *domain.Address)
service/user/internal/biz/address.go:28
next →
1–100 of 5,359, ranked by callers