Download goalert/swo/swogrp/node.go from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 228 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/goalert/swo/swogrp/node.go
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/goalert/swo/swogrp/node.go
-
curl -L -o node.go https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/goalert/swo/swogrp/node.go
228 Bytes
| package swogrp | |
| import ( | |
| "time" | |
| "github.com/google/uuid" | |
| ) | |
| // Node represents a single node in the switchover group. | |
| type Node struct { | |
| ID uuid.UUID | |
| CanExec bool | |
| OldID uuid.UUID | |
| NewID uuid.UUID | |
| StartedAt time.Time | |
| } | |