f0c73c3fd5
+ Added binary assets + Added font Source Code Pro for the web logging viewer + Removed unreachable code at package static files
15 lines
265 B
Go
15 lines
265 B
Go
package BinaryAssets
|
|
|
|
import (
|
|
"github.com/SommerEngineering/Ocean/BinaryAssets/SourceCodePro"
|
|
)
|
|
|
|
func GetData(filename string) (data []byte) {
|
|
if obj, err := SourceCodePro.Asset(filename); err != nil {
|
|
return
|
|
} else {
|
|
data = obj
|
|
return
|
|
}
|
|
}
|