ip2region_private/maker/golang/xdb/editor.go

31 lines
519 B
Go

// Copyright 2022 The Ip2Region Authors. All rights reserved.
// Use of this source code is governed by a Apache2.0-style
// license that can be found in the LICENSE file.
// original source ip editor
package xdb
type Editor struct {
}
func NewEditor(srcFile string) (*Editor, error) {
return nil, nil
}
func (e *Editor) Put(ip string) error {
return nil
}
func (e *Editor) PutFile(src string) error {
return nil
}
func (e *Editor) Save() error {
return nil
}
func (e *Editor) Close() error {
return nil
}