mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-23 13:16:42 +00:00
Create short line up
This commit is contained in:
parent
b51bfb7a77
commit
437d6fbebe
1 changed files with 17 additions and 0 deletions
17
short line up
Normal file
17
short line up
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
|
pragma solidity ^0.8.17;
|
||||||
|
|
||||||
|
library SillyStringUtils {
|
||||||
|
|
||||||
|
struct Haiku {
|
||||||
|
string line1;
|
||||||
|
string line2;
|
||||||
|
string line3;
|
||||||
|
}
|
||||||
|
|
||||||
|
function shruggie(string memory _input) internal pure returns (string memory) {
|
||||||
|
return string.concat(_input, unicode" 🤷");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Loading…
Reference in a new issue