Class and Objects in Appium

Classes can be defined in golang with struct keyword. Here a student class is created as a struct type and an object of Student can be created via

Example for : Class declaration and usage in Go

package main

func main() {
    var student = Student{} = "Ram"
    student.age = 10


type Student struct {
    name string
    age  int