Skip to content
Permalink
Branch: master
Commits on Apr 3, 2019
  1. update param out -> outPtr

    toby1991 committed Apr 3, 2019
    Signed-off-by: Toby Yan <me@tobyan.com>
  2. fix a db prefix bug when using updatecolumn

    toby1991 committed Apr 3, 2019
    Signed-off-by: Toby Yan <me@tobyan.com>
Commits on Apr 1, 2019
  1. add getInt64 config helper

    toby1991 committed Apr 1, 2019
    Signed-off-by: Toby Yan <me@tobyan.com>
  2. change var name to deletedAtKeyName

    toby1991 committed Apr 1, 2019
    Signed-off-by: Toby Yan <me@tobyan.com>
  3. gofmt

    toby1991 committed Apr 1, 2019
    Signed-off-by: Toby Yan <me@tobyan.com>
  4. add ptr helper

    toby1991 committed Apr 1, 2019
    Signed-off-by: Toby Yan <me@tobyan.com>
  5. fix: gocyclo cyclomatic complexity

    toby1991 committed Apr 1, 2019
    Gocyclo calculates cyclomatic complexities of functions in Go source code. The cyclomatic complexity of a function is calculated according to the following rules: 1 is the base complexity of a function +1 for each 'if', 'for', 'case', '&&' or '||' Go Report Card warns on functions with cyclomatic complexity > 15.
    
    framework/model/helper/helpers.go
    Line 21: warning: cyclomatic complexity 16 of function fillStruct() is high (> 15) (gocyclo)
    
    Signed-off-by: Toby Yan <me@tobyan.com>
  6. fix: ineffectual assignment to err (ineffassign)

    toby1991 committed Apr 1, 2019
    framework/notification/email/smtp.go
    Line 50: warning: ineffectual assignment to err (ineffassign)
    
    Signed-off-by: Toby Yan <me@tobyan.com>
  7. gofmt helpers

    toby1991 committed Apr 1, 2019
    Signed-off-by: Toby Yan <me@tobyan.com>
  8. fix copier err handler

    toby1991 committed Apr 1, 2019
    Signed-off-by: Toby Yan <me@tobyan.com>
  9. fix wrong type sprintf

    toby1991 committed Apr 1, 2019
    framework/http/middleware/throttle.go
    Line 51: error: Sprintf format %d has arg retryAfter.Seconds() of wrong type float64 (vet)
    
    Signed-off-by: Toby Yan <me@tobyan.com>
You can’t perform that action at this time.