mirror of
https://github.com/bettercap/bettercap
synced 2025-08-21 05:53:20 -07:00
merge
This commit is contained in:
commit
8c424765f6
2 changed files with 3 additions and 1 deletions
|
@ -2,7 +2,7 @@ package core
|
||||||
|
|
||||||
const (
|
const (
|
||||||
Name = "bettercap"
|
Name = "bettercap"
|
||||||
Version = "2.24.1"
|
Version = "2.25"
|
||||||
Author = "Simone 'evilsocket' Margaritelli"
|
Author = "Simone 'evilsocket' Margaritelli"
|
||||||
Website = "https://bettercap.org/"
|
Website = "https://bettercap.org/"
|
||||||
)
|
)
|
||||||
|
|
|
@ -29,6 +29,8 @@ func NewMeta() *Meta {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Meta) MarshalJSON() ([]byte, error) {
|
func (m *Meta) MarshalJSON() ([]byte, error) {
|
||||||
|
m.Lock()
|
||||||
|
defer m.Unlock()
|
||||||
return json.Marshal(metaJSON{Values: m.m})
|
return json.Marshal(metaJSON{Values: m.m})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue