lowering hmap storage requirement via omitempty (#3111)

dev
Mzack9999 2023-01-12 15:31:45 +01:00 committed by GitHub
parent 0b3992cdb8
commit e4402e7449
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -11,9 +11,9 @@ import (
// MetaInput represents a target with metadata (TODO: replace with https://github.com/projectdiscovery/metainput)
type MetaInput struct {
// Input represent the target
Input string
Input string `json:"input,omitempty"`
// CustomIP to use for connection
CustomIP string
CustomIP string `json:"customIP,omitempty"`
}
func (metaInput *MetaInput) marshalToBuffer() (bytes.Buffer, error) {