<commit_before>package models

import (
	"errors"
	log "github.com/Sirupsen/logrus"
	"github.com/jinzhu/gorm"
	pb "github.com/mirrorhub-io/platform/controllers/proto"
	"github.com/satori/go.uuid"
)

type Mirror struct {
	gorm.Model

	ContactID        int32
	IPv4             string `gorm:"not null"`
	IPv6             string `gorm:"not null"`
	Domain           string `gorm:"not null"`
	LocalDestination string `gorm:"not null"`
	Name             string `gorm:"not null"`

	Traffic   int64
	Bandwidth int64
	Storage   int64

	ClientToken string `gorm:"not null;unique"`
<commit_msg>remove logger<commit_after>package models

import (
	"errors"
	"github.com/jinzhu/gorm"
	pb "github.com/mirrorhub-io/platform/controllers/proto"
	"github.com/satori/go.uuid"
)

type Mirror struct {
	gorm.Model

	ContactID        int32
	IPv4             string `gorm:"not null"`
	IPv6             string `gorm:"not null"`
	Domain           string `gorm:"not null"`
	LocalDestination string `gorm:"not null"`
	Name             string `gorm:"not null"`

	Traffic   int64
	Bandwidth int64
	Storage   int64

	ClientToken string `gorm:"not null;unique"`

{'fraction_non_alphanumeric': 0.1088495575221239, 'fraction_numerical': 0.017699115044247787, 'mean_word_length': 2.982394366197183, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '1305816', 'n_tokens_mistral': 407, 'n_tokens_neox': 394, 'n_words': 91}