Logo
Explore Help
Register Sign In
External/nuclei
1
0
Fork 0
You've already forked nuclei
mirror of https://github.com/projectdiscovery/nuclei.git synced 2025-12-17 18:25:25 +00:00
Code Issues Packages Projects Releases Wiki Activity
nuclei/v2/pkg/utils/utils.go

14 lines
177 B
Go
Raw Normal View History

RES-113 # Improve code quality * created IsEmpty utility method
2021-07-09 16:56:01 +03:00
package utils
import (
"strings"
)
RES-84 # Improve Nuclei CLI interface (WIP) * removed the generic isEmpty implementation
2021-08-03 14:51:34 +03:00
func IsBlank(value string) bool {
return strings.TrimSpace(value) == ""
RES-84 # Improve Nuclei CLI interface (WIP) * Merge from parent # Conflicts: # v2/cmd/nuclei/main.go # v2/internal/runner/config.go # v2/internal/runner/templates.go # v2/internal/runner/update.go # v2/pkg/templates/compile.go # v2/pkg/templates/compile_test.go # v2/pkg/types/types.go
2021-07-12 17:20:01 +03:00
}
RES-84 # Improve Nuclei CLI interface (WIP) * removed the generic isEmpty implementation
2021-08-03 14:51:34 +03:00
func IsNotBlank(value string) bool {
return !IsBlank(value)
RES-84 # Improve Nuclei CLI interface (WIP) * Merge from parent # Conflicts: # v2/cmd/nuclei/main.go # v2/internal/runner/config.go # v2/internal/runner/templates.go # v2/internal/runner/update.go # v2/pkg/templates/compile.go # v2/pkg/templates/compile_test.go # v2/pkg/types/types.go
2021-07-12 17:20:01 +03:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.6 Page: 264ms Template: 6ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API