This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "context" | |
| "fmt" | |
| "log" | |
| "net/http" | |
| "os" | |
| "cloud.google.com/go/vertexai/genai" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|  |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package heap // import "github.com/jba/heap" | |
| Package heap provides min-heap data structures. | |
| TYPES | |
| type Heap[T cmp.Ordered] struct { | |
| // Has unexported fields. | |
| } | |
| Heap is a min-heap for ordered types. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package tree // import "github.com/jba/omap/tree" | |
| Package tree implements an in-memory ordered map using a tree. The map supports | |
| arbitrary keys and comparison functions. | |
| TYPES | |
| type Map[K, V any] struct { | |
| // Has unexported fields. | |
| } |
OlderNewer