mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-09 08:40:29 +00:00
pin to v1.0.0 of github action parser
This commit is contained in:
119 files changed
+9482
-3609
No files matched your search
+2
-2
@@ -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