forked from gnolang/gno
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove native declared functions from imports.go
- Loading branch information
Your Name
committed
Feb 24, 2025
1 parent
a143041
commit 5ba1914
Showing
17 changed files
with
255 additions
and
241 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
package fmt | ||
|
||
|
||
|
||
func Println(a ...interface{}) (int, error){ | ||
return 0,nil | ||
} | ||
|
||
func Printf(format string, a ...interface{}) (int, error){ | ||
return 0,nil | ||
} | ||
|
||
func Print(a ...interface{}) (int, error){ | ||
return 0,nil | ||
} | ||
|
||
func Sprint(a ...interface{}) string { | ||
return "" | ||
} | ||
|
||
func Sprintf(format string, a ...interface{}) string { | ||
return "" | ||
} | ||
|
||
func Sprintln(a ...interface{}) string { | ||
return "" | ||
} | ||
|
||
func Sscanf(str string, format string, a ...interface{}) (n int, err error) { | ||
return 0, nil | ||
} | ||
|
||
func Errorf(format string, a ...interface{}) error { | ||
return &errorFmt{err:format} | ||
} | ||
|
||
func Fprintln(w Writer, a ...interface{}) (n int, err error) { | ||
return 0, nil | ||
} | ||
|
||
|
||
func Fprintf(w Writer, format string, a ...interface{}) (n int, err error) { | ||
return 0, nil | ||
} | ||
|
||
func Fprint(w Writer, a ...interface{}) (n int, err error) { | ||
return 0, nil | ||
} | ||
|
||
type errorFmt struct{ | ||
err string | ||
} | ||
func (e *errorFmt) Error()string{ | ||
return e.err | ||
} | ||
type Writer interface { | ||
Write(p []byte) (n int, err error) | ||
} |
Oops, something went wrong.