summaryrefslogtreecommitdiffstats
path: root/mojo/public/go/system/core.go
blob: d8735aeb6ae2e73aeaed5141e2832942b25bda8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2014 The Chromium 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 system

import "mojo/public/go/system/impl"

type Core interface {
	GetTimeTicksNow() int64
}

var core *impl.CoreImpl

func init() {
     core = &impl.CoreImpl{}
}

func GetCore() Core {
     return core
}