From be4c3554023423bd14701a0f38a69b897b8125f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Thu, 8 Mar 2018 17:10:16 +0100 Subject: [PATCH] coreapi: use type aliases for exposed types MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit License: MIT Signed-off-by: Ɓukasz Magiera --- core/coreapi/interface/interface.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/coreapi/interface/interface.go b/core/coreapi/interface/interface.go index 5439bb89fed..b5ee09c10e7 100644 --- a/core/coreapi/interface/interface.go +++ b/core/coreapi/interface/interface.go @@ -34,10 +34,10 @@ type Path interface { // TODO: should we really copy these? // if we didn't, godoc would generate nice links straight to go-ipld-format -type Node ipld.Node -type Link ipld.Link +type Node = ipld.Node +type Link = ipld.Link type PeerID = peer.ID -type Addr ma.Multiaddr +type Addr = ma.Multiaddr type Reader interface { io.ReadSeeker