һ���ӿڿ�����һ�����������Ľӿڣ����൱��ֱ�ӽ���Щ��Ƕ�ӿڵķ����о������ӿ���һ����
����ӿ� File ������ ReadWrite �� Lock �����з���������������һ�� Close() ������
type ReadWrite interface {
Read(b Buffer) bool
Write(b Buffer) bool
}
type Lock interface {
Lock()
Unlock()
}
type File interface {
ReadWrite
Lock
Close()
}