firmanJS/boillerplate-fiber

View on GitHub

Showing 8 of 8 total issues

Similar blocks of code found in 2 locations. Consider refactoring.
Open

package role
 
import (
. "github.com/firmanJS/boillerplate-fiber/config"
. "github.com/firmanJS/boillerplate-fiber/models"
Severity: Major
Found in api/role/createRole.go and 1 other location - About 4 hrs to fix
api/employe/createEmploye.go on lines 1..42

Similar blocks of code found in 2 locations. Consider refactoring.
Open

package employe
 
import (
. "github.com/firmanJS/boillerplate-fiber/config"
. "github.com/firmanJS/boillerplate-fiber/models"
Severity: Major
Found in api/employe/createEmploye.go and 1 other location - About 4 hrs to fix
api/role/createRole.go on lines 1..42

Similar blocks of code found in 2 locations. Consider refactoring.
Open

package employe
 
import (
. "github.com/firmanJS/boillerplate-fiber/config"
"github.com/firmanJS/boillerplate-fiber/helpers"
Severity: Major
Found in api/employe/deleteEmploye.go and 1 other location - About 4 hrs to fix
api/role/deleteRole.go on lines 1..47

Similar blocks of code found in 2 locations. Consider refactoring.
Open

package role
 
import (
. "github.com/firmanJS/boillerplate-fiber/config"
"github.com/firmanJS/boillerplate-fiber/helpers"
Severity: Major
Found in api/role/deleteRole.go and 1 other location - About 4 hrs to fix
api/employe/deleteEmploye.go on lines 1..47

Similar blocks of code found in 2 locations. Consider refactoring.
Open

package role
 
import (
. "github.com/firmanJS/boillerplate-fiber/config"
. "github.com/firmanJS/boillerplate-fiber/models"
Severity: Major
Found in api/role/getRole.go and 1 other location - About 2 hrs to fix
api/employe/getEmploye.go on lines 1..32

Similar blocks of code found in 2 locations. Consider refactoring.
Open

package employe
 
import (
. "github.com/firmanJS/boillerplate-fiber/config"
. "github.com/firmanJS/boillerplate-fiber/models"
Severity: Major
Found in api/employe/getEmploye.go and 1 other location - About 2 hrs to fix
api/role/getRole.go on lines 1..32

Similar blocks of code found in 2 locations. Consider refactoring.
Open

package routers
 
import (
"github.com/firmanJS/boillerplate-fiber/api/role"
"github.com/gofiber/fiber/v2"
Severity: Major
Found in routers/role.go and 1 other location - About 1 hr to fix
routers/employe.go on lines 1..19

Similar blocks of code found in 2 locations. Consider refactoring.
Open

package routers
 
import (
"github.com/firmanJS/boillerplate-fiber/api/employe"
"github.com/gofiber/fiber/v2"
Severity: Major
Found in routers/employe.go and 1 other location - About 1 hr to fix
routers/role.go on lines 1..19
Severity
Category
Status
Source
Language