View definition

func RegisterMakeDefFormatter

Defined in github.com/sourcegraph/srclib/graph/formatter.go

Description

RegisterMakeDefFormatter makes a DefFormatter constructor function (MakeDefFormatter) available for defs with the specified unitType. If Register is called twice with the same unitType or if sf is nil, it panics

RegisterMakeDefFormatter is referenced in 10 repositories

github.com/sourcegraph/srclib sourcegraph/srclib-java sourcegraph/srclib-ruby

...