Skip to content

Commit

Permalink
test: testing golint pipeline
Browse files Browse the repository at this point in the history
Signed-off-by: Asish Kumar <[email protected]>
  • Loading branch information
officialasishkumar committed Jan 16, 2024
1 parent f49816d commit db23ff1
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 3 deletions.
2 changes: 2 additions & 0 deletions S3-Keploy/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import (
"github.com/gofiber/fiber/v2"
)

var messi int

Check failure on line 10 in S3-Keploy/main.go

View workflow job for this annotation

GitHub Actions / lint (S3-Keploy)

`messi` is unused (deadcode)

func main() {
awsService := config.Configuration()

Expand Down
2 changes: 1 addition & 1 deletion echo-sql/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var Logger *zap.Logger

var Database *sql.DB

var messi int
var messi int

Check failure on line 18 in echo-sql/main.go

View workflow job for this annotation

GitHub Actions / lint (echo-sql)

`messi` is unused (deadcode)

func main() {
if os.Getenv("PORT") != "" {
Expand Down
2 changes: 1 addition & 1 deletion gin-mongo/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
var col *mongo.Collection
var logger *zap.Logger

var messi int
var messi int

func main() {
logger, _ = zap.NewProduction()
Expand Down
2 changes: 1 addition & 1 deletion gin-redis/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"github.com/keploy/gin-redis/server"
)

var messi int
var messi int

Check failure on line 7 in gin-redis/main.go

View workflow job for this annotation

GitHub Actions / lint (gin-redis)

`messi` is unused (deadcode)

func main() {
server.Init()
Expand Down
2 changes: 2 additions & 0 deletions graphql-sql/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ import (
_ "github.com/lib/pq"
)

var messi int

Check failure on line 16 in graphql-sql/main.go

View workflow job for this annotation

GitHub Actions / lint (graphql-sql)

`messi` is unused (deadcode)

const (
//DB_HOST = "graphql-sql-postgres-1"
DB_HOST = "localhost"
Expand Down
2 changes: 2 additions & 0 deletions mux-sql/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import (
"log"
)

var messi int

Check failure on line 7 in mux-sql/main.go

View workflow job for this annotation

GitHub Actions / lint (mux-sql)

`messi` is unused (deadcode)

func main() {
a := &App{}
err := a.Initialize(
Expand Down
2 changes: 2 additions & 0 deletions sse-svelte/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import (
"go.mongodb.org/mongo-driver/mongo/options"
)

var messi int

Check failure on line 15 in sse-svelte/main.go

View workflow job for this annotation

GitHub Actions / lint (sse-svelte)

`messi` is unused (deadcode)

var msgChan chan string
var client *mongo.Client

Expand Down
2 changes: 2 additions & 0 deletions users-profile/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import (
"github.com/gin-gonic/gin"
)

var messi int

Check failure on line 12 in users-profile/main.go

View workflow job for this annotation

GitHub Actions / lint (users-profile)

`messi` is unused (deadcode)

func main() {
router := gin.Default()

Expand Down

0 comments on commit db23ff1

Please sign in to comment.