Hugo

Any way to use hugo public api without CLI?

I want to work on a project which extends Hugo and i’m writing that in Go. Is there i can use Hugo’s public API(Create site create content etc) bu adding hugo as vendor and directry calling methods?