fix package names

This commit is contained in:
Diego Fernando Carrión 2022-11-01 12:09:52 +01:00
parent f55f472ae7
commit a3e02f6243
No known key found for this signature in database
GPG Key ID: 811EF2E03998BFC4
3 changed files with 6 additions and 5 deletions

View File

@ -1,4 +1,4 @@
package errgo
package errno
type ErrorT uint16
@ -309,8 +309,9 @@ func (err ErrorT) ID() uint16 {
// NewErrorT is a factory for ErrorT.
// In the event that an invalid id is provided it will return an empty ErrorT in the first value
// and one of the following in the second:
// EINVAL When the id provided is not >32767
// EIDINUSE When the ID is already in use.
//
// EINVAL When the id provided is not >32767
// EIDINUSE When the ID is already in use.
func NewErrorT(id uint16, msg string) (ErrorT, error) {
if id < userErrorIDSpaceStart {
return ErrorT(0), EINVAL

View File

@ -1,4 +1,4 @@
package exits
package exit
import (
"os"

View File

@ -1,4 +1,4 @@
package exits
package exit
import (
"gitlab.com/CRThaze/cworthy/errno"