# -*- mode: snippet -*- # name: func main() # condition: (progn (forward-line 0) (not (and (eq (point-min) (point)) (looking-at-p "package")))) # key: main # -- func main() { $0 }