akiyosi.goneovim/cmd/goneovim/main.go

22 lines
437 B
Go
Raw Normal View History

2019-11-02 10:54:41 +09:00
package main
import (
"github.com/akiyosi/goneovim/editor"
)
func main() {
2020-12-20 19:10:54 +09:00
// // profile the application
// // https://blog.golang.org/pprof
// // After running the app, do the following:
// // $ go tool pprof -http=localhost:9090 cpuprofile
// f, err := os.Create("cpuprofile")
// if err != nil {
// os.Exit(1)
// }
// defer f.Close()
// pprof.StartCPUProfile(f)
// defer pprof.StopCPUProfile()
2020-12-17 01:31:07 +09:00
2019-11-02 10:54:41 +09:00
editor.InitEditor()
}