Skip to content

Instantly share code, notes, and snippets.

View akshanshgusain's full-sized avatar
🎯
Focusing

Akshansh Gusain akshanshgusain

🎯
Focusing
  • New Delhi, India
  • 00:39 (UTC -12:00)
View GitHub Profile
package Queue
import (
"container/list"
"fmt"
)
type Queue struct {
Queue *list.List
}
@akshanshgusain
akshanshgusain / stack.go
Created November 16, 2022 07:28
Stack data structure implementation in go
package Stack
import (
"container/list"
"fmt"
)
type Stack struct {
stack *list.List
}
package main
import (
"fmt"
"github.com/gorilla/websocket"
"log"
"net/http"
)
// We'll need to define an Upgrader