Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
go-gitlab
Project
Project
Details
Activity
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
go-gitlab
Commits
bfc0d7b1
Commit
bfc0d7b1
authored
Oct 11, 2018
by
Sander van Harmelen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make a few small style tweaks
parent
f47feaec
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
discussions.go
discussions.go
+0
-0
notes.go
notes.go
+4
-5
No files found.
discussions.go
View file @
bfc0d7b1
This diff is collapsed.
Click to expand it.
notes.go
View file @
bfc0d7b1
...
...
@@ -19,7 +19,6 @@ package gitlab
import
(
"fmt"
"net/url"
"time"
)
// NotesService handles communication with the notes related methods
...
...
@@ -49,9 +48,9 @@ type Note struct {
WebURL
string
`json:"web_url"`
}
`json:"author"`
System
bool
`json:"system"`
ExpiresAt
*
time
.
Time
`json:"expires_at"`
UpdatedAt
*
time
.
Time
`json:"updated_at"`
CreatedAt
*
time
.
Time
`json:"created_at"`
ExpiresAt
*
ISOTime
`json:"expires_at"`
UpdatedAt
*
ISOTime
`json:"updated_at"`
CreatedAt
*
ISOTime
`json:"created_at"`
NoteableID
int
`json:"noteable_id"`
NoteableType
string
`json:"noteable_type"`
Position
*
NotePosition
`json:"position"`
...
...
@@ -69,7 +68,7 @@ type Note struct {
NoteableIID
int
`json:"noteable_iid"`
}
// NotePosition represents the
"position" attributes on a note
// NotePosition represents the
position attributes of a note.
type
NotePosition
struct
{
BaseSHA
string
`json:"base_sha"`
StartSHA
string
`json:"start_sha"`
...
...
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