View stop_words.go
package main
import (
"flag"
"fmt"
"reflect"
)
var StopWords = []string{"i", "me", "my", "myself", "we", "our", "ours", "ourselves",
"you", "your", "yours", "yourself", "yourselves", "he", "him", "his", "himself",
View format_data.go
package main
import (
"bufio"
"fmt"
"math/rand"
"os"
"strings"
"time"
)
View result.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
View sort_by_rating.go
package main
import (
"bufio"
"flag"
"fmt"
"io"
"os"
mgo "gopkg.in/mgo.v2"
View retrieve_by_alias.go
package main
import (
"bufio"
"flag"
"fmt"
"io"
"os"
mgo "gopkg.in/mgo.v2"
View count_collection.go
package main
import (
"os"
"testing"
"github.com/go-test/deep"
mgo "gopkg.in/mgo.v2"
"gopkg.in/mgo.v2/bson"
)
View retrieve_mgo.go
package main
import (
"bufio"
"flag"
"fmt"
"io"
"os"
"time"
View setup_mgo.go
package main
import (
"bufio"
"flag"
"fmt"
"io"
"os"
"time"
View rpush_tags.go
package main
import (
"bufio"
"encoding/json"
"flag"
"fmt"
"io"
"os"
View iterate_counter.go
package main
import (
"flag"
"fmt"
"os"
"github.com/go-redis/redis"
)