<commit_before>package main

import (
	"net/http"

	"github.com/rs/cors"
	log "github.com/sirupsen/logrus"

	"flag"

	"fmt"

	"github.com/fgruchala/twall-middle-go/service"
	"github.com/fgruchala/twall-middle-go/webservice"
	"github.com/gorilla/mux"
)

func main() {
	// LOG
	log.SetFormatter(&log.TextFormatter{
		ForceColors:   true,
		FullTimestamp: true,
	})

	// ARGS
	port := flag.Int("port", 3002, "Port on which Twall is listening")
	consumerKey := flag.String("consumerKey", "", "Consumer key generated by Twitter. Go https://apps.twitter.com")
	consumerSecret := flag.String("consumerSecret", "", "Consumer secret generated by Twitter. Go https://apps.twitter.com")
	corsOrigin := flag.String("cors", "*", "Access-Control-Allow-Origin")
	flag.Parse()

	// SERVICE
	tweetService := service.NewTweetService(consumerKey, consumerSecret)

	// WEBSERVICE
	router := mux.NewRouter().StrictSlash(true)<commit_msg>CHORE(Twall) Wildcard<commit_after>package main

import (
	"net/http"

	"github.com/rs/cors"
	log "github.com/sirupsen/logrus"

	"flag"

	"fmt"

	"github.com/fgruchala/twall-middle-go/service"
	"github.com/fgruchala/twall-middle-go/webservice"
	"github.com/gorilla/mux"
)

func main() {
	// LOG
	log.SetFormatter(&log.TextFormatter{
		ForceColors:   true,
		FullTimestamp: true,
	})

	// ARGS
	port := flag.Int("port", 3002, "Port on which Twall is listening")
	consumerKey := flag.String("consumerKey", "", "Consumer key generated by Twitter. Go https://apps.twitter.com")
	consumerSecret := flag.String("consumerSecret", "", "Consumer secret generated by Twitter. Go https://apps.twitter.com")
	corsOrigin := flag.String("cors", "http://localhost:*", "Access-Control-Allow-Origin")
	flag.Parse()

	// SERVICE
	tweetService := service.NewTweetService(consumerKey, consumerSecret)

	// WEBSERVICE
	router := mux.NewRouter().StrictSlash(true)
{'fraction_non_alphanumeric': 0.1626278944534195, 'fraction_numerical': 0.004308023694130318, 'mean_word_length': 4.596385542168675, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '148132', 'n_tokens_mistral': 685, 'n_tokens_neox': 650, 'n_words': 119}