摘要:
go type interface {} is interface with no methods 因为返回的是interface类型,需要做转换才能使用 result.Value.( Product) 就是将interface{}专为 Product之后再获取其Price字段的值。 阅读全文
摘要:
class Node: def __init__(self,value=None): self.value = value self.next = None class LinkList: def __init__(self,head = None): self.head = head def ge 阅读全文