17 lines
286 B
Go
17 lines
286 B
Go
|
package golang
|
||
|
|
||
|
import (
|
||
|
// stdlib
|
||
|
"log"
|
||
|
|
||
|
// local
|
||
|
"go.dev.pztrn.name/glp/parsers/parserinterface"
|
||
|
)
|
||
|
|
||
|
func Initialize() (parserinterface.Interface, string) {
|
||
|
log.Println("Initializing Golang projects parser")
|
||
|
|
||
|
p := &golangParser{}
|
||
|
return parserinterface.Interface(p), "golang"
|
||
|
}
|