package main import ( "github.com/vishvananda/netlink" ) func main() { link, _ := netlink.LinkByName("eth0") attr := netlink.NewLinkAttrs() attr.MTU = 1500 _ = netlink.LinkSetMTU(link, attr.MTU) _ = netlink.LinkSetAttributes(link, attr) }In this example, we first retrieve the network link for the interface named "eth0". We then create a new set of link attributes and set the MTU to 1500. Finally, we use the LinkSetMTU and LinkSetAttributes functions to apply the changed attributes to the network link. Overall, the Go netlink package provides a convenient and easy-to-use interface for managing network interfaces in Linux systems.