Skip to content

Commit bb516cc

Browse files
authored
Merge pull request #172 from kke/add-context-direct
Add Context.Direct
2 parents 0566e48 + 1036437 commit bb516cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

context.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ type Context struct {
2020
Referrer ReferrerInfo `json:"referrer,omitempty"`
2121
Screen ScreenInfo `json:"screen,omitempty"`
2222
IP net.IP `json:"ip,omitempty"`
23+
Direct bool `json:"direct,omitempty"`
2324
Locale string `json:"locale,omitempty"`
2425
Timezone string `json:"timezone,omitempty"`
2526
UserAgent string `json:"userAgent,omitempty"`

0 commit comments

Comments
 (0)