Skip to content

Commit

Permalink
Merge pull request #41 from foomo/sesamy-cli-0.3.2
Browse files Browse the repository at this point in the history
Sesamy cli 0.3.2
  • Loading branch information
franklinkim authored Aug 23, 2024
2 parents f30513d + 2464550 commit 09a1ae6
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 54 deletions.
3 changes: 2 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ linters:
- errname # Checks that sentinel errors are prefixed with the `Err` and error types are suffixed with the `Error`. [fast: false, auto-fix: false]
- errorlint # errorlint is a linter for that can be used to find code that will cause problems with the error wrapping scheme introduced in Go 1.13. [fast: false, auto-fix: false]
- exhaustive # check exhaustiveness of enum switch statements [fast: false, auto-fix: false]
- exportloopref # checks for pointers to enclosing loop variables [fast: false, auto-fix: false]
#- forbidigo # Forbids identifiers [fast: false, auto-fix: false]
- forcetypeassert # finds forced type assertions [fast: true, auto-fix: false]
- gocheckcompilerdirectives # Checks that go compiler directive comments (//go:) are valid. [fast: true, auto-fix: false]
Expand Down Expand Up @@ -165,6 +164,8 @@ linters:
- usestdlibvars # A linter that detect the possibility to use variables/constants from the Go standard library. [fast: true, auto-fix: false]
- wastedassign # Finds wasted assignment statements [fast: false, auto-fix: false]
- whitespace # Whitespace is a linter that checks for unnecessary newlines at the start and end of functions, if, for, etc. [fast: true, auto-fix: true]
- canonicalheader # Checks whether net/http.Header uses canonical header [fast: false, auto-fix: false]
- fatcontext #Detects nested contexts in loops [fast: false, auto-fix: false]

## Don't enable
#- cyclop # checks function and package cyclomatic complexity [fast: false, auto-fix: false]
Expand Down
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module github.com/foomo/sesamy-cli

go 1.22.3

toolchain go1.22.5
go 1.23

require (
github.com/fatih/structtag v1.2.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,6 @@ ___SERVER_PERMISSIONS___
}
]
},
"clientAnnotations": {
"isEditedByUser": true
},
"isRequired": true
},
{
Expand Down Expand Up @@ -200,9 +197,6 @@ ___SERVER_PERMISSIONS___
}
]
},
"clientAnnotations": {
"isEditedByUser": true
},
"isRequired": true
},
{
Expand All @@ -228,9 +222,6 @@ ___SERVER_PERMISSIONS___
}
]
},
"clientAnnotations": {
"isEditedByUser": true
},
"isRequired": true
},
{
Expand Down Expand Up @@ -354,9 +345,6 @@ ___SERVER_PERMISSIONS___
}
]
},
"clientAnnotations": {
"isEditedByUser": true
},
"isRequired": true
},
{
Expand Down Expand Up @@ -391,9 +379,6 @@ ___SERVER_PERMISSIONS___
}
]
},
"clientAnnotations": {
"isEditedByUser": true
},
"isRequired": true
}
]
Expand Down
18 changes: 0 additions & 18 deletions pkg/provider/emarsys/server/template/emarsyswebextendtagdata.go
Original file line number Diff line number Diff line change
Expand Up @@ -299,9 +299,6 @@ ___SERVER_PERMISSIONS___
}
]
},
"clientAnnotations": {
"isEditedByUser": true
},
"isRequired": true
},
{
Expand All @@ -320,9 +317,6 @@ ___SERVER_PERMISSIONS___
}
]
},
"clientAnnotations": {
"isEditedByUser": true
},
"isRequired": true
},
{
Expand All @@ -341,9 +335,6 @@ ___SERVER_PERMISSIONS___
}
]
},
"clientAnnotations": {
"isEditedByUser": true
},
"isRequired": true
},
{
Expand All @@ -369,9 +360,6 @@ ___SERVER_PERMISSIONS___
}
]
},
"clientAnnotations": {
"isEditedByUser": true
},
"isRequired": true
},
{
Expand All @@ -390,9 +378,6 @@ ___SERVER_PERMISSIONS___
}
]
},
"clientAnnotations": {
"isEditedByUser": true
},
"isRequired": true
},
{
Expand All @@ -411,9 +396,6 @@ ___SERVER_PERMISSIONS___
}
]
},
"clientAnnotations": {
"isEditedByUser": true
},
"isRequired": true
}
]
Expand Down
25 changes: 17 additions & 8 deletions pkg/provider/emarsys/web/template/emarsysinitializationtagdata.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,6 @@ ___WEB_PERMISSIONS___
}
]
},
"clientAnnotations": {
"isEditedByUser": true
},
"isRequired": true
},
{
Expand All @@ -135,8 +132,23 @@ ___WEB_PERMISSIONS___
}
]
},
"clientAnnotations": {
"isEditedByUser": true
"isRequired": true
},
{
"instance": {
"key": {
"publicId": "get_cookies",
"versionId": "1"
},
"param": [
{
"key": "cookieAccess",
"value": {
"type": 1,
"string": "any"
}
}
]
},
"isRequired": true
},
Expand Down Expand Up @@ -235,9 +247,6 @@ ___WEB_PERMISSIONS___
}
]
},
"clientAnnotations": {
"isEditedByUser": true
},
"isRequired": true
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,6 @@ ___SERVER_PERMISSIONS___
}
]
},
"clientAnnotations": {
"isEditedByUser": true
},
"isRequired": true
},
{
Expand Down Expand Up @@ -175,9 +172,6 @@ ___SERVER_PERMISSIONS___
}
]
},
"clientAnnotations": {
"isEditedByUser": true
},
"isRequired": true
},
{
Expand All @@ -196,9 +190,6 @@ ___SERVER_PERMISSIONS___
}
]
},
"clientAnnotations": {
"isEditedByUser": true
},
"isRequired": true
},
{
Expand Down

0 comments on commit 09a1ae6

Please sign in to comment.