github.com/code-visible/golang@v0.0.0-20240214000051-0f9c587b0b32/testdata/multifiles/animal.go (about)

     1  package main
     2  
     3  import (
     4  	alias "fmt"
     5  )
     6  
     7  type Animal struct {
     8  	Name string
     9  }
    10  
    11  func (ani Animal) Run() {
    12  	alias.Printf("%s is Running...", ani.Name)
    13  }