Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
5d40f389
Commit
5d40f389
authored
Jan 09, 2025
by
johnnyjoy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: fix name comments
parent
840b16f0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
memo_relation_service.proto
proto/api/v1/memo_relation_service.proto
+2
-2
memo_relation_service.pb.go
proto/gen/api/v1/memo_relation_service.pb.go
+2
-2
apidocs.swagger.yaml
proto/gen/apidocs.swagger.yaml
+2
-2
No files found.
proto/api/v1/memo_relation_service.proto
View file @
5d40f389
...
...
@@ -8,11 +8,11 @@ option go_package = "gen/api/v1";
message
MemoRelation
{
// The name of memo.
// Format: "memos/{
u
id}"
// Format: "memos/{id}"
Memo
memo
=
1
;
// The name of related memo.
// Format: "memos/{
u
id}"
// Format: "memos/{id}"
Memo
related_memo
=
2
;
enum
Type
{
...
...
proto/gen/api/v1/memo_relation_service.pb.go
View file @
5d40f389
...
...
@@ -73,10 +73,10 @@ func (MemoRelation_Type) EnumDescriptor() ([]byte, []int) {
type
MemoRelation
struct
{
state
protoimpl
.
MessageState
`protogen:"open.v1"`
// The name of memo.
// Format: "memos/{
u
id}"
// Format: "memos/{id}"
Memo
*
MemoRelation_Memo
`protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"`
// The name of related memo.
// Format: "memos/{
u
id}"
// Format: "memos/{id}"
RelatedMemo
*
MemoRelation_Memo
`protobuf:"bytes,2,opt,name=related_memo,json=relatedMemo,proto3" json:"related_memo,omitempty"`
Type
MemoRelation_Type
`protobuf:"varint,3,opt,name=type,proto3,enum=memos.api.v1.MemoRelation_Type" json:"type,omitempty"`
unknownFields
protoimpl
.
UnknownFields
...
...
proto/gen/apidocs.swagger.yaml
View file @
5d40f389
...
...
@@ -2636,12 +2636,12 @@ definitions:
$ref
:
'
#/definitions/v1MemoRelationMemo'
title
:
|-
The name of memo.
Format: "memos/{
u
id}"
Format: "memos/{id}"
relatedMemo
:
$ref
:
'
#/definitions/v1MemoRelationMemo'
title
:
|-
The name of related memo.
Format: "memos/{
u
id}"
Format: "memos/{id}"
type
:
$ref
:
'
#/definitions/v1MemoRelationType'
v1MemoRelationMemo
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment