Simplified file structure

This commit is contained in:
2024-08-07 19:39:10 +02:00
parent 1b13539b22
commit 66569446b1
219 changed files with 453 additions and 457 deletions

View File

@ -0,0 +1,13 @@
package errors
import "fmt"
// UnusedVariable error is created when a defined variable is never used.
type UnusedVariable struct {
Name string
}
// Error generates the string representation.
func (err *UnusedVariable) Error() string {
return fmt.Sprintf("Unused variable '%s'", err.Name)
}