Skip to content

Commit

Permalink
Remove json field names (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
iomodo committed Jun 12, 2020
1 parent dc1c8da commit 1a6ac33
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions server/autolink/autolink.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ import (

// Autolink represents a pattern to autolink.
type Autolink struct {
Name string `json:"name"`
Disabled bool `json:"disabled"`
Pattern string `json:"pattern"`
Template string `json:"template"`
Scope []string `json:"scope"`
WordMatch bool `json:"wordmatch"`
DisableNonWordPrefix bool `json:"disable_non_word_prefix"`
DisableNonWordSuffix bool `json:"disable_non_word_suffix"`
Name string
Disabled bool
Pattern string
Template string
Scope []string
WordMatch bool
DisableNonWordPrefix bool
DisableNonWordSuffix bool

template string
re *regexp.Regexp
Expand Down

0 comments on commit 1a6ac33

Please sign in to comment.