-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #140 from kouprlabs/chore/enable-gosec
Chore: Enable gosec
- Loading branch information
Showing
24 changed files
with
313 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,6 @@ linters: | |
- prealloc | ||
- nestif | ||
- lll | ||
- gosec | ||
- gocritic | ||
- gocognit | ||
- funlen | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
Mime-Version: 1.0 | ||
Date: Now | ||
From: "Voltaserve" <[email protected]> | ||
To: "Someone" <[email protected]> | ||
Subject: Invitation to join a Voltaserve organization | ||
Content-Type: multipart/alternative; | ||
boundary=XXX | ||
|
||
--XXX | ||
Content-Transfer-Encoding: quoted-printable | ||
Content-Type: text/plain ; charset=UTF-8 | ||
You have been invited by Someone to join the organization ACME. | ||
Please follow this link to sign up: example.com/sign-up | ||
--XXX | ||
Content-Transfer-Encoding: quoted-printable | ||
Content-Type: text/html; charset=UTF-8 | ||
|
||
<html> | ||
<head> | ||
<link rel=3D"preconnect" href=3D"https://fonts.googleapis.com" /> | ||
<link rel=3D"preconnect" href=3D"https://fonts.gstatic.com" crossorigin= | ||
/> | ||
<link | ||
href=3D"https://fonts.googleapis.com/css2?family=3DIBM+Plex+Sans:ital= | ||
,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,5= | ||
00;1,600;1,700&display=3Dswap" | ||
rel=3D"stylesheet" | ||
/> | ||
<style> | ||
.container { | ||
font-family: "IBM Plex Sans", sans-serif; | ||
font-size: 14px; | ||
color: black; | ||
width: 580px; | ||
margin-left: auto; | ||
margin-right: auto; | ||
} | ||
.link { | ||
color: #0c4cf3 !important; | ||
} | ||
.link:visited { | ||
color: #0c4cf3 !important; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div class=3D"container"> | ||
<p>Hello,</p> | ||
<p> | ||
You have been invited by <b>Someone</b> to join the | ||
organization <b>ACME</b>. Please follow this link to | ||
view your incoming invitations: | ||
</p> | ||
<p> | ||
<a class=3D"link" href=3D"example.com/account/invitation"> | ||
View incoming invitations | ||
</a> | ||
</p> | ||
</div> | ||
</body> | ||
</html> | ||
|
||
--XXX |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
Mime-Version: 1.0 | ||
Date: Now | ||
From: "Voltaserve" <[email protected]> | ||
To: "Someone" <[email protected]> | ||
Subject: Invitation to join a Voltaserve organization | ||
Content-Type: multipart/alternative; | ||
boundary=XXX | ||
|
||
--XXX | ||
Content-Transfer-Encoding: quoted-printable | ||
Content-Type: text/plain ; charset=UTF-8 | ||
You have been invited by Someone to join the organization ACME. | ||
Please follow this link to view your incoming invitations: example.com/acco= | ||
unt/incoming-invitations | ||
--XXX | ||
Content-Transfer-Encoding: quoted-printable | ||
Content-Type: text/html; charset=UTF-8 | ||
|
||
<html> | ||
<head> | ||
<link rel=3D"preconnect" href=3D"https://fonts.googleapis.com" /> | ||
<link rel=3D"preconnect" href=3D"https://fonts.gstatic.com" crossorigin= | ||
/> | ||
<link | ||
href=3D"https://fonts.googleapis.com/css2?family=3DIBM+Plex+Sans:ital= | ||
,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,5= | ||
00;1,600;1,700&display=3Dswap" | ||
rel=3D"stylesheet" | ||
/> | ||
<style> | ||
.container { | ||
font-family: "IBM Plex Sans", sans-serif; | ||
font-size: 14px; | ||
color: black; | ||
width: 580px; | ||
margin-left: auto; | ||
margin-right: auto; | ||
} | ||
.link { | ||
color: #0c4cf3 !important; | ||
} | ||
.link:visited { | ||
color: #0c4cf3 !important; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div class=3D"container"> | ||
<p>Hello,</p> | ||
<p> | ||
You have been invited by <b>Someone</b> to join the | ||
organization <b>ACME</b> in Voltaserve. Please follow | ||
this link to sign up: | ||
</p> | ||
<p> | ||
<a class=3D"link" href=3D"example.com/sign-up">Sign up</a> | ||
</p> | ||
</div> | ||
</body> | ||
</html> | ||
|
||
--XXX |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.