package
Version:
v0.1.25
Opens a new window with list of versions in this module.
Published: Oct 4, 2022
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Ssi Core / Helper
Contains helper functions to write faster and less code.
### CheckErr
Checks the error and exits the program if it is not nil.
type:
func CheckErr(err error)
example:
package main
import(
"github.com/ssibrahimbas/ssi-core/pkg/helper"
"fmt"
)
func main() {
err := fmt.Errorf("error")
helper.CheckErr(err) // exits the program
}
Documentation
¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.