https://github.com/7c/mygobase
go base library
https://github.com/7c/mygobase
Last synced: 2 months ago
JSON representation
go base library
- Host: GitHub
- URL: https://github.com/7c/mygobase
- Owner: 7c
- Created: 2023-10-27T18:47:35.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-14T17:40:14.000Z (over 2 years ago)
- Last Synced: 2025-12-12T22:42:59.528Z (7 months ago)
- Language: Go
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mygobase
## import
`go get -u github.com/7c/mygobase`
## base functions
```
ValidURL(url string) bool
ValidIP(ip string) bool
ValidIP4(ip string) bool
ValidIP6(ip string) bool
FileExists(filename string) bool
LockPort(port int) bool
```
## /domain
### ParseDomain(domain string) (*DomainParsed, error)
## /email
### NormalizeEmail(email string) string
### IsValidEmail(email string) bool
## /vault
### Model: ModelVault,.init,.KVv1,.AsSqlUri