Skip to content
This repository has been archived by the owner on Jul 5, 2020. It is now read-only.

Commit

Permalink
initialize router
Browse files Browse the repository at this point in the history
  • Loading branch information
thetinygoat committed May 26, 2020
1 parent 3dce29a commit a4cf16b
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions main.go
@@ -1,20 +1,20 @@
package main
// Copyright (C) 2020 Sachin Saini

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

import "fmt"
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
package main

func main() {
list := List{Name: "mylist"}
list.rpush("1")
list.rpush("2")
list.rpush("3")
list.rpush("4")
list.rpush("5")
list.rpush("6")
fmt.Println(list.lpop())
fmt.Println(list.lpop())
fmt.Println(list.lpop())
fmt.Println(list.lpop())
fmt.Println(list.lpop())
fmt.Println(list.lpop())
list.lrange(0, 999)
R := Router{}
R.initializeRouter()
}

0 comments on commit a4cf16b

Please sign in to comment.