pin to v1.0.0 of github action parser
This commit is contained in:
4
vendor/github.com/emirpasic/gods/trees/binaryheap/serialization.go
generated
vendored
4
vendor/github.com/emirpasic/gods/trees/binaryheap/serialization.go
generated
vendored
@@ -11,12 +11,12 @@ func assertSerializationImplementation() {
|
||||
var _ containers.JSONDeserializer = (*Heap)(nil)
|
||||
}
|
||||
|
||||
// ToJSON outputs the JSON representation of list's elements.
|
||||
// ToJSON outputs the JSON representation of the heap.
|
||||
func (heap *Heap) ToJSON() ([]byte, error) {
|
||||
return heap.list.ToJSON()
|
||||
}
|
||||
|
||||
// FromJSON populates list's elements from the input JSON representation.
|
||||
// FromJSON populates the heap from the input JSON representation.
|
||||
func (heap *Heap) FromJSON(data []byte) error {
|
||||
return heap.list.FromJSON(data)
|
||||
}
|
||||
|
Reference in New Issue
Block a user