Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goqueue

Queue in Golang.

Well tested.

Usage

import "github.com/FunctionSir/goqueue"
// ... //
q := make(goqueue.Queue[int], 0) // In most cases, must be 0.
if q.Empty() {
    // ... //
}
if q.Size() > 10 {
    // ... //
}
q.Push(1)
poped := q.Pop()
front := q.Front()
back := q.Back()
// ... //

About

Queue in Golang.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages