Skip to content

Commit

Permalink
Cleanup License Comment formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jranson committed Apr 10, 2018
1 parent 7195ff2 commit 4aa50dc
Show file tree
Hide file tree
Showing 13 changed files with 26 additions and 28 deletions.
4 changes: 2 additions & 2 deletions cache.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
package main

/**
* Copyright 2018 Comcast Cable Communications Management, LLC
* Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -13,6 +11,8 @@ package main
* limitations under the License.
*/

package main

// Cache is the interface for the supported caching fabrics
// When making new cache types, Retrieve() must return an error on cache miss
type Cache interface {
Expand Down
4 changes: 2 additions & 2 deletions config.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
package main

/**
* Copyright 2018 Comcast Cable Communications Management, LLC
* Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -13,6 +11,8 @@ package main
* limitations under the License.
*/

package main

import (
"github.com/BurntSushi/toml"
)
Expand Down
4 changes: 2 additions & 2 deletions constants.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
package main

/**
* Copyright 2018 Comcast Cable Communications Management, LLC
* Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -13,6 +11,8 @@ package main
* limitations under the License.
*/

package main

const trickster = "trickster"

// Origin Database Types
Expand Down
4 changes: 2 additions & 2 deletions filesystem.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
package main

/**
* Copyright 2018 Comcast Cable Communications Management, LLC
* Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -13,6 +11,8 @@ package main
* limitations under the License.
*/

package main

import (
"fmt"
"io/ioutil"
Expand Down
4 changes: 2 additions & 2 deletions flags.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
package main

/**
* Copyright 2018 Comcast Cable Communications Management, LLC
* Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -13,6 +11,8 @@ package main
* limitations under the License.
*/

package main

import (
"flag"
"fmt"
Expand Down
4 changes: 2 additions & 2 deletions handlers.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
package main

/**
* Copyright 2018 Comcast Cable Communications Management, LLC
* Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -13,6 +11,8 @@ package main
* limitations under the License.
*/

package main

import (
"crypto/md5"
"encoding/json"
Expand Down
4 changes: 2 additions & 2 deletions handlers_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
package main

/**
* Copyright 2018 Comcast Cable Communications Management, LLC
* Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -13,6 +11,8 @@ package main
* limitations under the License.
*/

package main

import "testing"

func TestParseTime(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions logging.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
package main

/**
* Copyright 2018 Comcast Cable Communications Management, LLC
* Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -13,6 +11,8 @@ package main
* limitations under the License.
*/

package main

import (
"fmt"
"io"
Expand Down
6 changes: 2 additions & 4 deletions main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
package main

// Trickster - Reverse Proxy Cache for Prometheus HTTP API

/**
* Copyright 2018 Comcast Cable Communications Management, LLC
* Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -15,6 +11,8 @@ package main
* limitations under the License.
*/

package main

import (
"fmt"
"net/http"
Expand Down
4 changes: 2 additions & 2 deletions memory.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
package main

/**
* Copyright 2018 Comcast Cable Communications Management, LLC
* Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -13,6 +11,8 @@ package main
* limitations under the License.
*/

package main

import (
"fmt"
"sync"
Expand Down
4 changes: 2 additions & 2 deletions metrics.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
package main

/**
* Copyright 2018 Comcast Cable Communications Management, LLC
* Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -13,6 +11,8 @@ package main
* limitations under the License.
*/

package main

import (
"fmt"
"net/http"
Expand Down
4 changes: 2 additions & 2 deletions model.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
package main

/**
* Copyright 2018 Comcast Cable Communications Management, LLC
* Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -13,6 +11,8 @@ package main
* limitations under the License.
*/

package main

import (
"net/http"
"net/url"
Expand Down
4 changes: 2 additions & 2 deletions redis.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
package main

/**
* Copyright 2018 Comcast Cable Communications Management, LLC
* Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -13,6 +11,8 @@ package main
* limitations under the License.
*/

package main

import (
"sync"
"time"
Expand Down

0 comments on commit 4aa50dc

Please sign in to comment.