# sortedQueue **Repository Path**: anyzzgo/sorted-queue ## Basic Information - **Project Name**: sortedQueue - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-01-21 - **Last Updated**: 2025-01-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 这是一个Golang测试项目 ### 设置一个有序的队列 ``` package main import "cmp" func main() { intQueue := New(func(a, b int) int { return cmp.Compare[int](a, b) }) intQueue.Push(6) intQueue.Push(11) intQueue.Push(10) intQueue.Push(5) intQueue.Push(9) intQueue.Push(7) intQueue.Push(1) intQueue.Push(2) } ```