# go-awrrs **Repository Path**: g_night/go-awrrs ## Basic Information - **Project Name**: go-awrrs - **Description**: 使用GO语言实现平滑的动态调度算法 - **Primary Language**: Go - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-06-16 - **Last Updated**: 2022-05-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: go-main ## README # go-awwrs #### 介绍 使用GO语言实现平滑的动态调度算法 ``` func TestWrrSlice_Add(t *testing.T) { wrrs := &awwrs.WrrSlice{} wrrs.Add("hello", 5) wrrs.Add("say", 4) wrrs.Add("cool", 6) for i := 0; i < 10; i++ { next, err := wrrs.Next() if err != nil { fmt.Println(err.Error()) return } fmt.Println("call func:", next) } } ```