<commit_before>// Copyright 2013 tsuru authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package elb

import (
	"github.com/flaviamissi/go-elb/aws"
	"github.com/flaviamissi/go-elb/elb"
	"github.com/globocom/config"
	"github.com/globocom/tsuru/log"
	"github.com/globocom/tsuru/router"
)

func init() {
	router.Register("elb", elbRouter{})
}

type elbRouter struct{
	e *elb.ELB
}

func (r *elbRouter) elb() *elb.ELB {
	if r.e == nil {
		r.e = getELBEndpoint()
	}
	return r.e
}

func getELBEndpoint() *elb.ELB {
	access, err := config.GetString("aws:access-key-id")
	if err != nil {<commit_msg>router/elb: gofmt -s -w .<commit_after>// Copyright 2013 tsuru authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package elb

import (
	"github.com/flaviamissi/go-elb/aws"
	"github.com/flaviamissi/go-elb/elb"
	"github.com/globocom/config"
	"github.com/globocom/tsuru/log"
	"github.com/globocom/tsuru/router"
)

func init() {
	router.Register("elb", elbRouter{})
}

type elbRouter struct {
	e *elb.ELB
}

func (r *elbRouter) elb() *elb.ELB {
	if r.e == nil {
		r.e = getELBEndpoint()
	}
	return r.e
}

func getELBEndpoint() *elb.ELB {
	access, err := config.GetString("aws:access-key-id")
	if err != nil {
{'fraction_non_alphanumeric': 0.15018315018315018, 'fraction_numerical': 0.005860805860805861, 'mean_word_length': 3.6462585034013606, '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': '618164', 'n_tokens_mistral': 564, 'n_tokens_neox': 555, 'n_words': 134}