vfmt: shorten main.const_name to just const_name

This commit is contained in:
Delyan Angelov 2021-01-25 13:08:43 +02:00
parent ea11488339
commit dbaccd4272
No known key found for this signature in database
GPG key ID: 66886C0F12D595ED
25 changed files with 183 additions and 175 deletions

View file

@ -67,7 +67,7 @@ const (
fn main() {
// get a mutable reference to the subscriber
mut sub := main.eb.subscriber
mut sub := eb.subscriber
// subscribe to the 'error' event
sub.subscribe('error', on_error)
// start the work